1 #ifndef __CS_MESH_QUANTITIES_H__
2 #define __CS_MESH_QUANTITIES_H__
57 #define CS_BAD_CELLS_WARPED_CORRECTION (1 << 0)
60 #define CS_BAD_CELLS_REGULARISATION (1 << 1)
63 #define CS_CELL_FACE_CENTER_CORRECTION (1 << 2)
66 #define CS_CELL_CENTER_CORRECTION (1 << 3)
69 #define CS_FACE_DISTANCE_CLIP (1 << 4)
72 #define CS_FACE_RECONSTRUCTION_CLIP (1 << 5)
void cs_mesh_quantities_check_vol(const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities, int allow_error)
Definition: cs_mesh_quantities.c:3211
cs_real_33_t * cocgb_s_lsq
Definition: cs_mesh_quantities.h:130
void cs_mesh_quantities_reduce_extended(const cs_mesh_t *mesh, cs_mesh_quantities_t *mesh_quantities)
Definition: cs_mesh_quantities.c:3263
void cs_mesh_quantities_dump(const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities)
Definition: cs_mesh_quantities.c:3292
cs_real_t * b_dist
Definition: cs_mesh_quantities.h:113
cs_real_t * corr_grad_lin_det
Definition: cs_mesh_quantities.h:138
cs_real_t * cell_f_vol
Definition: cs_mesh_quantities.h:86
cs_real_t * b_face_surf
Definition: cs_mesh_quantities.h:100
cs_real_t * djjpf
Definition: cs_mesh_quantities.h:109
cs_real_t min_f_vol
Definition: cs_mesh_quantities.h:122
cs_int_t * c_solid_flag
Definition: cs_mesh_quantities.h:142
Definition: cs_internal_coupling.h:59
cs_real_t max_f_vol
Definition: cs_mesh_quantities.h:123
#define BEGIN_C_DECLS
Definition: cs_defs.h:453
int cs_int_t
Fortran-compatible integer.
Definition: cs_defs.h:296
void cs_compute_cell_cocg_it_coupling(const cs_mesh_t *m, cs_mesh_quantities_t *fvq, cs_internal_coupling_t *ce)
Definition: cs_mesh_quantities.c:3407
cs_real_33_t * corr_grad_lin
Definition: cs_mesh_quantities.h:139
void algcen(cs_int_t *const iopt)
Definition: cs_mesh_quantities.c:2340
cs_mesh_quantities_t * cs_mesh_quantities_destroy(cs_mesh_quantities_t *mesh_quantities)
Definition: cs_mesh_quantities.c:2543
cs_real_t * diipf
Definition: cs_mesh_quantities.h:108
cs_real_t * dofij
Definition: cs_mesh_quantities.h:107
cs_real_t * b_face_cog
Definition: cs_mesh_quantities.h:97
double cs_real_t
Floating-point value.
Definition: cs_defs.h:297
void cs_mesh_quantities_face_normal(const cs_mesh_t *mesh, cs_real_t *p_i_face_normal[], cs_real_t *p_b_face_normal[])
Definition: cs_mesh_quantities.c:3033
cs_real_t max_vol
Definition: cs_mesh_quantities.h:119
unsigned * bad_cell_flag
Definition: cs_mesh_quantities.h:143
cs_real_33_t * cocg_s_it
Definition: cs_mesh_quantities.h:128
cs_real_t * i_f_face_normal
Definition: cs_mesh_quantities.h:92
void cs_mesh_init_fluid_sections(const cs_mesh_t *mesh, cs_mesh_quantities_t *mesh_quantities)
Definition: cs_mesh_quantities.c:2958
cs_real_t tot_vol
Definition: cs_mesh_quantities.h:120
cs_real_t tot_f_vol
Definition: cs_mesh_quantities.h:124
void cs_mesh_quantities_set_cocg_options(int gradient_option)
Definition: cs_mesh_quantities.c:2425
cs_real_t * dijpf
Definition: cs_mesh_quantities.h:105
void cs_mesh_quantities_b_faces(const cs_mesh_t *mesh, cs_real_t *p_b_face_cog[], cs_real_t *p_b_face_normal[])
Definition: cs_mesh_quantities.c:3119
cs_real_t * cell_cen
Definition: cs_mesh_quantities.h:84
cs_mesh_quantities_t * cs_glob_mesh_quantities
cs_real_t * i_dist
Definition: cs_mesh_quantities.h:111
cs_real_t * i_face_normal
Definition: cs_mesh_quantities.h:88
Definition: cs_mesh_quantities.h:82
void cs_mesh_quantities_cell_cen(const cs_mesh_t *mesh, cs_real_t *cell_cen[])
Definition: cs_mesh_quantities.c:3153
cs_real_33_t * cocgb_s_it
Definition: cs_mesh_quantities.h:126
cs_mesh_quantities_t * cs_mesh_quantities_create(void)
Definition: cs_mesh_quantities.c:2492
int cs_mesh_quantities_cell_cen_choice(const int algo_choice)
Definition: cs_mesh_quantities.c:2400
void comcoc(const cs_int_t *const imrgra)
Definition: cs_mesh_quantities.c:2360
unsigned cs_glob_mesh_quantities_flag
cs_real_t * b_f_face_surf
Definition: cs_mesh_quantities.h:103
cs_real_t * weight
Definition: cs_mesh_quantities.h:116
cs_real_t min_vol
Definition: cs_mesh_quantities.h:118
#define END_C_DECLS
Definition: cs_defs.h:454
cs_real_33_t * cocg_it
Definition: cs_mesh_quantities.h:133
cs_real_t * i_f_face_surf
Definition: cs_mesh_quantities.h:102
void cs_compute_cell_cocg_lsq_coupling(const cs_mesh_t *m, cs_mesh_quantities_t *fvq, cs_internal_coupling_t *ce)
Definition: cs_mesh_quantities.c:3389
#define CS_PROCF(x, y)
Definition: cs_defs.h:467
void cs_mesh_quantities_fluid_compute(const cs_mesh_t *mesh, cs_mesh_quantities_t *mesh_quantities)
Definition: cs_mesh_quantities.c:2944
cs_real_t cs_real_33_t[3][3]
3x3 matrix of floating-point values
Definition: cs_defs.h:315
cs_real_t * b_face_normal
Definition: cs_mesh_quantities.h:90
cs_real_t * diipb
Definition: cs_mesh_quantities.h:106
cs_real_t * cell_vol
Definition: cs_mesh_quantities.h:85
void cs_mesh_quantities_compute(const cs_mesh_t *mesh, cs_mesh_quantities_t *mesh_quantities)
Definition: cs_mesh_quantities.c:2597
void cs_mesh_quantities_sup_vectors(const cs_mesh_t *mesh, cs_mesh_quantities_t *mesh_quantities)
Definition: cs_mesh_quantities.c:2999
void compor(const cs_int_t *const iporos)
Definition: cs_mesh_quantities.c:2377
cs_real_t * i_face_surf
Definition: cs_mesh_quantities.h:99
int cs_mesh_quantities_compute_count(void)
Definition: cs_mesh_quantities.c:3278
cs_real_t * i_face_cog
Definition: cs_mesh_quantities.h:96
cs_int_t * b_sym_flag
Definition: cs_mesh_quantities.h:141
cs_real_33_t * cocg_lsq
Definition: cs_mesh_quantities.h:135
cs_real_t * b_f_face_normal
Definition: cs_mesh_quantities.h:94
void cs_mesh_quantities_set_porous_model(int porous_model)
Definition: cs_mesh_quantities.c:2479
void cs_mesh_quantities_i_faces(const cs_mesh_t *mesh, cs_real_t *p_i_face_cog[], cs_real_t *p_i_face_normal[])
Definition: cs_mesh_quantities.c:3084