1 #ifndef __CS_CDO_SCHEME_GEOMETRY_H__ 2 #define __CS_CDO_SCHEME_GEOMETRY_H__ 75 for (
int k = 0;
k < 3;
k++)
Definition: cs_field_pointer.h:69
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:151
double center[3]
Definition: cs_cdo_quantities.h:83
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_cdo_scheme_geometry.c:137
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_cdo_scheme_geometry.c:343
#define BEGIN_C_DECLS
Definition: cs_defs.h:448
static void cs_compute_grdc(const cs_face_mesh_t *fm, cs_real_t *grd_c)
Compute the value of the constant gradient of the Lagrange function attached to xc in p_{f...
Definition: cs_cdo_scheme_geometry.h:67
double meas
Definition: cs_cdo_quantities.h:81
Definition: cs_cdo_local.h:73
void cs_math_3_length_unitv(const cs_real_t xa[3], const cs_real_t xb[3], cs_real_t *len, cs_real_3_t unitv)
Compute the length (euclidien norm) between two points xa and xb in a cartesian coordinate system of ...
Definition: cs_math.c:275
double cs_real_t
Floating-point value.
Definition: cs_defs.h:296
cs_nvec3_t dedge
Definition: cs_cdo_local.h:136
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_cdo_scheme_geometry.c:268
Definition: cs_field_pointer.h:118
short int f_sgn
Definition: cs_cdo_local.h:134
static double cs_compute_tec(short int e, const cs_cell_mesh_t *cm)
Compute tec (the area of the triangle of base e and apex c)
Definition: cs_cdo_scheme_geometry.h:120
double meas
Definition: cs_cdo.h:123
cs_quant_t * edge
Definition: cs_cdo_local.h:147
static cs_real_t cs_math_3_norm(const cs_real_t v[3])
Compute the euclidean norm of a vector of dimension 3.
Definition: cs_math.h:170
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:308
static void cs_math_3_cross_product(const cs_real_t u[3], const cs_real_t v[3], cs_real_t uv[restrict 3])
Compute the cross product of two vectors of 3 real values.
Definition: cs_math.h:292
cs_quant_t face
Definition: cs_cdo_local.h:135
double unitv[3]
Definition: cs_cdo.h:124
Definition: cs_cdo_quantities.h:79
double unitv[3]
Definition: cs_cdo_quantities.h:82
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_cdo_scheme_geometry.c:301
#define END_C_DECLS
Definition: cs_defs.h:449
void cs_compute_fwbs_q0(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_cdo_scheme_geometry.c:234
void cs_compute_tef_grdc(short int f, const cs_cell_mesh_t *cm, cs_real_t *tef, cs_real_t *grd_c)
Compute tef (the are of the triangle of base e and apex f Compute also the value of the constant grad...
Definition: cs_cdo_scheme_geometry.c:185
static double cs_compute_tef(short int e, const cs_face_mesh_t *fm)
Compute tef (the area of the triangle of base e and apex f)
Definition: cs_cdo_scheme_geometry.h:91
Definition: cs_cdo_local.h:125
cs_real_t * xc
Definition: cs_cdo_local.h:81
cs_quant_t * edge
Definition: cs_cdo_local.h:95