#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"
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... | |
#define CS_CDO_FIELD_INTERPOLATION_DBG 0 |
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.
[in] | mode | kind of interpolation to perform |
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.
[in] | mesh | pointer to a mesh structure |
[in] | cell_values | values at cells |
[in,out] | face_values | interpolated values at faces |
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.
[in] | mesh | pointer to a mesh structure |
[in] | cell_values | values at cells |
[in,out] | vtx_values | interpolated values at vertices |