42#define CS_CDO_KEEP_DEFAULT -2
46#define CS_CDO_OMP_CHUNK_SIZE 128
47#define CS_CDO_OMP_SCHEDULE schedule(static, CS_CDO_OMP_CHUNK_SIZE)
48#define CS_CDO_OMP_SYNC_MODE 0
53#if defined(HAVE_OPENMP) && defined(__GNUC__)
55 #define CS_CDO_OMP_ASSERT(e)
57 #define CS_CDO_OMP_ASSERT(e) assert(e)
60 #define CS_CDO_OMP_ASSERT(e) assert(e)
68#define CS_CDO_N_MAX_REACTIONS 8
79#define CS_N_DOFS_FACE_0TH 1
80#define CS_N_DOFS_FACE_1ST 3
81#define CS_N_DOFS_FACE_2ND 6
83#define CS_N_DOFS_CELL_0TH 1
84#define CS_N_DOFS_CELL_1ST 4
85#define CS_N_DOFS_CELL_2ND 10
bool cs_param_cdo_has_cdo_only(void)
Tell if CDO is only used.
Definition: cs_param_cdo.cpp:251
bool cs_param_cdo_has_cdo_and_fv(void)
Tell if FVM and CDO are used.
Definition: cs_param_cdo.cpp:234
bool cs_param_cdo_has_cdo(void)
Tell if CDO is used.
Definition: cs_param_cdo.cpp:287
void cs_param_cdo_log(void)
Print a welcome message indicating what is the current CDO status.
Definition: cs_param_cdo.cpp:111
bool cs_param_cdo_has_cdo_main(void)
Tell if CDO is used to solve main equations.
Definition: cs_param_cdo.cpp:217
bool cs_param_cdo_has_fv_only(void)
Tell if FVM is oly used.
Definition: cs_param_cdo.cpp:275
cs_param_cdo_mode_t
Definition: cs_param_cdo.h:90
@ CS_PARAM_CDO_MODE_ONLY
Definition: cs_param_cdo.h:97
@ CS_PARAM_CDO_MODE_OFF
Definition: cs_param_cdo.h:92
@ CS_PARAM_CDO_MODE_NS_WITH_FV
Definition: cs_param_cdo.h:94
@ CS_PARAM_CDO_MODE_WITH_FV
Definition: cs_param_cdo.h:93
cs_param_cdo_mode_t cs_glob_param_cdo_mode
bool cs_param_cdo_has_fv_main(void)
Tell if FVM is used to solve main equations.
Definition: cs_param_cdo.cpp:200
void cs_param_cdo_setup_log(void)
Print generic parameters used with CDO/HHO schemes.
Definition: cs_param_cdo.cpp:151
bool cs_param_cdo_has_NS_with_fv(void)
Tell if CDO is only used.
Definition: cs_param_cdo.cpp:263
cs_param_cdo_mode_t cs_param_cdo_mode_get(void)
Get the mode of activation for the CDO/HHO schemes.
Definition: cs_param_cdo.cpp:99
void cs_param_cdo_mode_set(cs_param_cdo_mode_t mode)
Set the global variable storing the mode of activation to apply to CDO/HHO schemes.
Definition: cs_param_cdo.cpp:85