#define BEGIN_C_DECLS
Definition: cs_defs.h:542
double cs_real_t
Floating-point value.
Definition: cs_defs.h:342
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:359
#define END_C_DECLS
Definition: cs_defs.h:543
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:335
void cs_reco_scalar_ebyc2c(cs_lnum_t n_cells, const cs_lnum_t *cell_ids, const cs_adjacency_t *c2e, const cs_cdo_quantities_t *cdoq, const double *array, bool dense_ouput, cs_real_t *reco)
Reconstruct the value at cell center from an array of values defined for each couple (e,...
Definition: cs_reco.cpp:634
void cs_reco_dfbyc_in_pec(const cs_cell_mesh_t *cm, short int e, const cs_real_t *array, cs_real_3_t val_pec)
Reconstruct a constant vector inside pec which is a volume surrounding the edge e inside the cell c....
Definition: cs_reco.cpp:1090
void cs_reco_cw_cell_vect_from_flux(const cs_cell_mesh_t *cm, const cs_real_t *fluxes, cs_real_t *cell_reco)
Reconstruct the vector-valued quantity inside each cell from the given flux array....
Definition: cs_reco.cpp:1495
void cs_reco_dual_vol_weight_reduction(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, int stride, bool interlace, cs_real_t *array)
Apply 1/|dual_vol| to a synchronized array of DoF vertices Parallel synchronization is done inside th...
Definition: cs_reco.cpp:252
void cs_reco_vector_v2c(cs_lnum_t n_cells, const cs_lnum_t *cell_ids, const cs_adjacency_t *c2v, const cs_cdo_quantities_t *cdoq, const double *array, bool dense_ouput, cs_real_t *reco)
Reconstruct the value at all cell centers from an array of values defined on primal vertices....
Definition: cs_reco.cpp:695
void cs_reco_dfbyc_in_cell(const cs_cell_mesh_t *cm, const cs_real_t *array, cs_real_3_t val_c)
Reconstruct a constant vector inside the cell c. array is scanned thanks to the c2e connectivity....
Definition: cs_reco.cpp:1044
void cs_reco_cw_vgrd_wbs_from_pvc(const cs_cell_mesh_t *cm, const cs_real_t *pot, cs_cell_builder_t *cb, cs_real_t *vgrd)
Compute the weighted (by volume) gradient inside a given primal cell for the related vertices....
Definition: cs_reco.cpp:1687
void cs_reco_cell_vectors_by_ib_face_dofs(const cs_adjacency_t *c2f, const cs_cdo_quantities_t *cdoq, const cs_real_t i_face_vals[], const cs_real_t b_face_vals[], cs_real_t *cell_reco)
Reconstruct the vector-valued quantity inside each cell from the face DoFs (interior and boundary)....
Definition: cs_reco.cpp:339
void cs_reco_grad_cell_from_fb_dofs(cs_lnum_t c_id, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_real_t *p_c, const cs_real_t *p_f, cs_real_t grd_c[])
Reconstruct the mean-value of the gradient field with DoFs arising from a face-based scheme (values a...
Definition: cs_reco.cpp:1277
void cs_reco_cw_cell_vect_from_face_dofs(const cs_cell_mesh_t *cm, const cs_real_t i_face_vals[], const cs_real_t b_face_vals[], cs_real_t *cell_reco)
Reconstruct the vector-valued quantity inside each cell from the face DoFs (interior and boundary)....
Definition: cs_reco.cpp:1542
void cs_reco_scalar_v2f(cs_lnum_t n_faces, const cs_lnum_t *face_ids, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, const double *array, bool dense_ouput, cs_real_t *reco)
Reconstruct the value at the face center from an array of values defined on primal vertices....
Definition: cs_reco.cpp:758
void cs_reco_cw_cgrd_wbs_from_pvc(const cs_cell_mesh_t *cm, const cs_real_t *pot, cs_cell_builder_t *cb, cs_real_t *cgrd)
Compute the mean value of a gradient inside a given primal cell. Use the WBS algo....
Definition: cs_reco.cpp:1792
void cs_reco_grad_33_cell_from_fb_dofs(cs_lnum_t c_id, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_real_t *u_c, const cs_real_t *u_f, cs_real_t grd_c[])
Reconstruct the mean-value of the tensor gradient field with DoFs arising from a face-based scheme (v...
Definition: cs_reco.cpp:1328
void cs_reco_cell_vectors_by_face_dofs(const cs_adjacency_t *c2f, const cs_cdo_quantities_t *cdoq, const cs_real_t face_dofs[], cs_real_t *cell_reco)
Reconstruct the vector-valued quantity inside each cell from the face DoFs (interior and boundary)....
Definition: cs_reco.cpp:463
static void cs_reco_scalar_vbyc2c_full(const cs_adjacency_t *c2v, const cs_cdo_quantities_t *cdoq, const double *array, cs_real_t *reco)
Reconstruct the value at cell center from an array of values defined for each couple (v,...
Definition: cs_reco.h:737
void cs_reco_ccen_edge_dofs(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const double *dof, double *p_ccrec[])
Reconstruct at each cell center a field of edge-based DoFs.
Definition: cs_reco.cpp:1193
void cs_reco_dfbyc_at_cell_center(cs_lnum_t c_id, const cs_adjacency_t *c2e, const cs_cdo_quantities_t *quant, const double *array, cs_real_3_t val_xc)
Reconstruct a constant vector at the cell center from an array of values defined on dual faces lying ...
Definition: cs_reco.cpp:1003
void cs_reco_2grad_cell_from_pv(cs_lnum_t c_id, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_real_t *p1di, const cs_real_t *p2di, cs_real_t grd1c[], cs_real_t grd2c[])
Reconstruct the constant gradient vector in a cell (the mean value) from the value at mesh vertices....
Definition: cs_reco.cpp:1436
void cs_reco_cell_curl_by_edge_dofs(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_real_t *circ, cs_real_t **p_curl)
Reconstruct a cell-wise constant curl from the knowledge of the circulation at primal edges.
Definition: cs_reco.cpp:1233
void cs_reco_cell_vector_by_face_dofs(cs_lnum_t c_id, const cs_adjacency_t *c2f, const cs_cdo_quantities_t *cdoq, const cs_real_t face_dofs[], bool local_input, cs_real_t *cell_reco)
Reconstruct the vector-valued quantity inside a cell from the face DoFs (interior and boundary)....
Definition: cs_reco.cpp:400
void cs_reco_scalar_c2f(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, const double *p_c, double *p_reco_f)
Reconstruct at face centers by a cell-based field weighted average.
Definition: cs_reco.cpp:868
void cs_reco_scalar_vbyc2c(cs_lnum_t n_cells, const cs_lnum_t *cell_ids, const cs_adjacency_t *c2v, const cs_cdo_quantities_t *cdoq, const double *array, bool dense_ouput, cs_real_t *reco)
Reconstruct the value at cell center from an array of values defined for each couple (v,...
Definition: cs_reco.cpp:571
cs_real_t cs_reco_cw_scalar_pv_inside_cell(const cs_cell_mesh_t *cm, const cs_real_t pdi[], const cs_real_t length_xcxp, const cs_real_t unitv_xcxp[], cs_real_t wbuf[])
Reconstruct the value of a scalar potential at a point inside a cell The scalar potential has DoFs lo...
Definition: cs_reco.cpp:1629
void cs_reco_scalar_v2c_v2f(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, const double *dof, double *p_reco_c[], double *p_reco_f[])
Reconstruct at cell centers and face centers a vertex-based field Linear interpolation....
Definition: cs_reco.cpp:817
void cs_reco_scalar_v2c(cs_lnum_t n_cells, const cs_lnum_t *cell_ids, const cs_adjacency_t *c2v, const cs_cdo_quantities_t *cdoq, const double *array, bool dense_ouput, cs_real_t *reco)
Reconstruct the value at cell center from an array of values defined at primal vertices....
Definition: cs_reco.cpp:510
void cs_reco_ccen_edge_dof(cs_lnum_t c_id, const cs_adjacency_t *c2e, const cs_cdo_quantities_t *quant, const double *dof, double reco[])
Reconstruct at the cell center a field of edge-based DoFs.
Definition: cs_reco.cpp:1148
static void cs_reco_vector_v2c_full(const cs_adjacency_t *c2v, const cs_cdo_quantities_t *cdoq, const double *array, cs_real_t *reco)
Reconstruct the value at cell center from an array of values defined at primal vertices....
Definition: cs_reco.h:714
static void cs_reco_scalar_ebyc2c_full(const cs_adjacency_t *c2e, const cs_cdo_quantities_t *cdoq, const double *array, cs_real_t *reco)
Reconstruct the value at cell center from an array of values defined for each couple (e,...
Definition: cs_reco.h:760
void cs_reco_vect_pv_from_pc(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_real_t *cell_val, cs_real_t *vtx_val)
Reconstruct a vector-valued array at vertices from a vector-valued array at cells.
Definition: cs_reco.cpp:957
void cs_reco_cw_cell_grad_from_scalar_pv(const cs_cell_mesh_t *cm, const cs_real_t pdi[], cs_real_t *cell_gradient)
Reconstruct the value of a scalar potential at a point inside a cell The scalar potential has DoFs lo...
Definition: cs_reco.cpp:1588
void cs_reco_grad_cell_from_pv(cs_lnum_t c_id, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_real_t *pdi, cs_real_t grdc[])
Reconstruct the constant gradient vector in a cell (the mean value) from the value at mesh vertices.
Definition: cs_reco.cpp:1383
void cs_reco_scal_pv_from_pc(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_real_t *cell_val, cs_real_t *vtx_val)
Reconstruct a scalar-valued array at vertices from a scalar-valued array at cells.
Definition: cs_reco.cpp:920
static void cs_reco_scalar_v2c_full(const cs_adjacency_t *c2v, const cs_cdo_quantities_t *cdoq, const double *array, cs_real_t *reco)
Reconstruct the value at cell center from an array of values defined at primal vertices....
Definition: cs_reco.h:692
Definition: cs_mesh_adjacencies.h:68
Definition: cs_cdo_connect.h:61
Definition: cs_cdo_quantities.h:139
cs_lnum_t n_cells
Definition: cs_cdo_quantities.h:153
Set of local and temporary buffers.
Definition: cs_cdo_local.h:60
Set of local quantities and connectivities related to a mesh cell.
Definition: cs_cdo_local.h:203