8.1
general documentation
cs_reco_cw.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <bft_mem.h>
#include "cs_math.h"
#include "cs_reco_cw.h"
+ Include dependency graph for cs_reco_cw.c:

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. More...
 
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. More...
 

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