#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <bft_mem.h>
#include "cs_math.h"
#include "cs_reco_cw.h"
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... | |
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.
[in] | stride | number of values for each vertex |
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | array | array of values |
[in,out] | reco | reconstructed values |
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.
[in] | stride | number of values for each vertex |
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | array | array of values for each couple (v,c) |
[in,out] | reco | reconstructed values |