118 for (
short int e = 0; e < fm->
n_ef; e++)
120 *p_f *= 0.5 / pfq.
meas;
void cs_reco_cost_edge_dof(cs_lnum_t cid, cs_lnum_t e1_id, const cs_connect_index_t *c2e, const cs_cdo_quantities_t *quant, const double *dof, double reco[])
Reconstruct by a constant vector a field of edge-based DoFs in a volume surrounding an edge...
Definition: cs_reco.c:165
Definition: cs_cdo_toolbox.h:60
void cs_reco_conf_vtx_dofs(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const double *dof, double *p_crec[], double *p_frec[])
Reconstruct at cell centers and face centers a vertex-based field Linear interpolation. If p_crec and/or p_frec are not allocated, this done in this subroutine.
Definition: cs_reco.c:81
double * tef
Definition: cs_cdo_local.h:148
#define BEGIN_C_DECLS
Definition: cs_defs.h:448
double meas
Definition: cs_cdo_quantities.h:81
Definition: cs_cdo_connect.h:67
void cs_reco_ccen_edge_dof(cs_lnum_t cid, const cs_connect_index_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.c:484
short int n_ef
Definition: cs_cdo_local.h:145
double cs_real_t
Floating-point value.
Definition: cs_defs.h:296
Definition: cs_cdo_quantities.h:100
Definition: cs_field_pointer.h:118
void cs_reco_dfbyc_at_cell_center(cs_lnum_t c_id, const cs_connect_index_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.c:324
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.c:529
void cs_reco_grd_cell_from_pv(cs_lnum_t c_id, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const double *pdi, cs_real_t val_xc[])
Reconstruct the value at the cell center of the gradient of a field defined on primal vertices...
Definition: cs_reco.c:435
short int * e2v_ids
Definition: cs_cdo_local.h:151
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:308
cs_quant_t face
Definition: cs_cdo_local.h:135
Definition: cs_cdo_quantities.h:79
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:292
#define END_C_DECLS
Definition: cs_defs.h:449
void cs_reco_pf_from_pv(cs_lnum_t f_id, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const double *pdi, cs_real_t *pdi_f)
Reconstruct the value at the face center from an array of values defined on primal vertices...
Definition: cs_reco.c:276
Definition: cs_cdo_local.h:125
void cs_reco_pv_at_cell_center(cs_lnum_t c_id, const cs_connect_index_t *c2v, const cs_cdo_quantities_t *quant, const double *array, cs_real_t *val_xc)
Reconstruct the value at the cell center from an array of values defined on primal vertices...
Definition: cs_reco.c:232
static void cs_reco_pv_at_face_center(const cs_face_mesh_t *fm, const double *p_v, double *p_f)
Reconstruct the value at the face center from an array of values defined on primal vertices...
Definition: cs_reco.h:107
void cs_reco_dfbyc_in_pec(cs_lnum_t c_id, cs_lnum_t e_id, const cs_connect_index_t *c2e, const cs_cdo_quantities_t *quant, const double *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.c:372