9.0
general documentation
Loading...
Searching...
No Matches
cs_reco_cw.cpp File Reference
#include "base/cs_defs.h"
#include <assert.h>
#include <math.h>
#include "bft/bft_mem.h"
#include "base/cs_math.h"
#include "cdo/cs_reco_cw.h"
Include dependency graph for cs_reco_cw.cpp:

Functions

void cs_reco_cw_stride_v2c (int stride, const cs_cell_mesh_t *cm, const cs_real_t *array, cs_real_t *reco)
 Reconstruct a scalar value at the cell center. array is assumed to be interlaced and of size stride*n_vertices.
void cs_reco_cw_stride_vbyc2c (int stride, const cs_cell_mesh_t *cm, const cs_real_t *array, cs_real_t *reco)
 Reconstruct a scalar value at the cell center. array is scanned thanks to the c2v connectivity. Pointer is already located at the beginning of the cell sequence, i.e. a shift equal to stride*c2v->idx[cm->c_id] has been done. array is assumed to be interlaced.

Function Documentation

◆ cs_reco_cw_stride_v2c()

void cs_reco_cw_stride_v2c ( int stride,
const cs_cell_mesh_t * cm,
const cs_real_t * array,
cs_real_t * reco )

Reconstruct a scalar value at the cell center. array is assumed to be interlaced and of size stride*n_vertices.

Parameters
[in]stridenumber of values for each vertex
[in]cmpointer to a cs_cell_mesh_t structure
[in]arrayarray of values
[in,out]recoreconstructed values

◆ cs_reco_cw_stride_vbyc2c()

void cs_reco_cw_stride_vbyc2c ( int stride,
const cs_cell_mesh_t * cm,
const cs_real_t * array,
cs_real_t * reco )

Reconstruct a scalar value at the cell center. array is scanned thanks to the c2v connectivity. Pointer is already located at the beginning of the cell sequence, i.e. a shift equal to stride*c2v->idx[cm->c_id] has been done. array is assumed to be interlaced.

Parameters
[in]stridenumber of values for each vertex
[in]cmpointer to a cs_cell_mesh_t structure
[in]arrayarray of values for each couple (v,c)
[in,out]recoreconstructed values