1 #ifndef __CS_CDO_SCHEME_GEOMETRY_H__ 2 #define __CS_CDO_SCHEME_GEOMETRY_H__ 77 for (
int k = 0;
k < 3;
k++) grd_c[
k] = ohf * pfq.
unitv[
k];
Definition: cs_field_pointer.h:70
static cs_real_t cs_math_3_dot_product(const cs_real_t u[3], const cs_real_t v[3])
Compute the dot product of two vectors of 3 real values.
Definition: cs_math.h:326
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
Set of local quantities and connectivities related to a mesh cell This is a key structure for all cel...
Definition: cs_cdo_local.h:146
void cs_compute_fwbs_q2(short int f, const cs_cell_mesh_t *cm, cs_real_3_t grd_c, cs_real_t *wvf, cs_real_t *pefc_vol)
Compute for a face the weight related to each vertex w_{v,f} This weight is equal to |dc(v) cap f|/|f...
Definition: cs_scheme_geometry.c:587
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
Definition: cs_defs.h:343
static void cs_compute_grdfc(const short int f_sgn, const cs_quant_t pfq, const cs_nvec3_t deq, cs_real_t *grd_c)
Compute the value of the constant gradient of the Lagrange function attached to xc in p_{f...
Definition: cs_scheme_geometry.h:69
void cs_compute_face_covariance_tensor(const cs_cell_mesh_t *cm, short int f, const cs_nvec3_t ax, const cs_nvec3_t ay, const cs_real_t center[3], cs_real_t cov[3])
Compute the inertial matrix of a cell with respect to the point called "center". This computation is ...
Definition: cs_scheme_geometry.c:324
double meas
Definition: cs_defs.h:345
void cs_compute_inertia_tensor(const cs_cell_mesh_t *cm, const cs_real_t center[3], cs_real_t inertia[3][3])
Compute the inertial matrix of a cell with respect to the point called "center". This computation is ...
Definition: cs_scheme_geometry.c:396
double cs_compute_fwbs_q3(short int f, const cs_cell_mesh_t *cm, cs_real_3_t grd_c, cs_real_t *wvf, cs_real_t *pefc_vol)
Compute for a face the weight related to each vertex w_{v,f} This weight is equal to |dc(v) cap f|/|f...
Definition: cs_scheme_geometry.c:630
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:315
double unitv[3]
Definition: cs_defs.h:346
Definition: cs_cdo_quantities.h:86
double unitv[3]
Definition: cs_cdo_quantities.h:89
double cs_compute_fwbs_q1(short int f, const cs_cell_mesh_t *cm, cs_real_t *wvf, cs_real_t *pefc_vol)
Compute for a face the weight related to each vertex w_{v,f} This weight is equal to |dc(v) cap f|/|f...
Definition: cs_scheme_geometry.c:550
void cs_compute_grd_ve(const short int v1, const short int v2, const cs_nvec3_t deq, const cs_real_3_t uvc[], const cs_real_t lvc[], cs_real_t *grd_v1, cs_real_t *grd_v2)
Compute the gradient of a Lagrange hat function related to primal vertices in a p_{ef,c} subvolume of a cell c where e is an edge belonging to the face f with vertices v1 and v2.
Definition: cs_scheme_geometry.c:500
#define END_C_DECLS
Definition: cs_defs.h:468