8.3
general documentation
cs_cdo_field_interpolation.cpp File Reference
#include "cs_defs.h"
#include <assert.h>
#include <bft_mem.h>
#include "cs_array.h"
#include "cs_cdofb_scaleq.h"
#include "cs_cdovcb_scaleq.h"
#include "cs_equation.h"
#include "cs_equation_priv.h"
#include "cs_timer_stats.h"
#include "cs_cdo_field_interpolation.h"
+ Include dependency graph for cs_cdo_field_interpolation.cpp:

Macros

#define CS_CDO_FIELD_INTERPOLATION_DBG   0
 

Functions

void cs_cdo_field_interpolation_activate (cs_flag_t mode)
 Activate equation(s) used for the field interpolation Two choices are available which can be combined: CS_CDO_FIELD_INTERPOLATION_SCALAR_C2V CS_CDO_FIELD_INTERPOLATION_SCALAR_C2F. More...
 
void cs_cdo_field_interpolation_cell_to_vertices (const cs_mesh_t *mesh, const cs_real_t *cell_values, cs_real_t *vtx_values)
 Interpolate an array defined at vertices from an array defined at cells. More...
 
void cs_cdo_field_interpolation_cell_to_faces (const cs_mesh_t *mesh, const cs_real_t *cell_values, cs_real_t *face_values)
 Interpolate an array defined at faces from an array defined at cells. More...
 

Macro Definition Documentation

◆ CS_CDO_FIELD_INTERPOLATION_DBG

#define CS_CDO_FIELD_INTERPOLATION_DBG   0

Function Documentation

◆ cs_cdo_field_interpolation_activate()

void cs_cdo_field_interpolation_activate ( cs_flag_t  mode)

Activate equation(s) used for the field interpolation Two choices are available which can be combined: CS_CDO_FIELD_INTERPOLATION_SCALAR_C2V CS_CDO_FIELD_INTERPOLATION_SCALAR_C2F.

Parameters
[in]modekind of interpolation to perform

◆ cs_cdo_field_interpolation_cell_to_faces()

void cs_cdo_field_interpolation_cell_to_faces ( const cs_mesh_t mesh,
const cs_real_t cell_values,
cs_real_t face_values 
)

Interpolate an array defined at faces from an array defined at cells.

Parameters
[in]meshpointer to a mesh structure
[in]cell_valuesvalues at cells
[in,out]face_valuesinterpolated values at faces

◆ cs_cdo_field_interpolation_cell_to_vertices()

void cs_cdo_field_interpolation_cell_to_vertices ( const cs_mesh_t mesh,
const cs_real_t cell_values,
cs_real_t vtx_values 
)

Interpolate an array defined at vertices from an array defined at cells.

Parameters
[in]meshpointer to a mesh structure
[in]cell_valuesvalues at cells
[in,out]vtx_valuesinterpolated values at vertices