9.0
general documentation
Loading...
Searching...
No Matches
cs_cdo_field_interpolation.cpp File Reference
#include "base/cs_defs.h"
#include <assert.h>
#include "bft/bft_mem.h"
#include "base/cs_array.h"
#include "cdo/cs_cdofb_scaleq.h"
#include "cdo/cs_cdovcb_scaleq.h"
#include "cdo/cs_equation.h"
#include "cdo/cs_equation_priv.h"
#include "base/cs_timer_stats.h"
#include "cdo/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.
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.
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.

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