1 #ifndef __CS_PARAM_CDO_H__
2 #define __CS_PARAM_CDO_H__
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
70 #define CS_ALL_FACES 0
71 #define CS_BND_FACES 1
72 #define CS_INT_FACES 2
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
#define BEGIN_C_DECLS
Definition: cs_defs.h:514
#define END_C_DECLS
Definition: cs_defs.h:515
void cs_param_cdo_log(void)
Print a welcome message indicating what is the current CDO status.
Definition: cs_param_cdo.c:139
cs_param_cdo_mode_t
Definition: cs_param_cdo.h:90
@ CS_PARAM_CDO_MODE_ONLY
Definition: cs_param_cdo.h:94
@ CS_PARAM_CDO_MODE_OFF
Definition: cs_param_cdo.h:92
@ CS_PARAM_CDO_MODE_WITH_FV
Definition: cs_param_cdo.h:93
cs_param_cdo_mode_t cs_glob_param_cdo_mode
void cs_param_cdo_setup_log(void)
Print generic parameters used with CDO/HHO schemes.
Definition: cs_param_cdo.c:171
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.c:127
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.c:113