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_SECTIONS 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)
67 #define CS_CDO_ASSEMBLE_BUF_SIZE 200
74 #define CS_CDO_N_MAX_REACTIONS 8
76 #define CS_ALL_FACES 0
77 #define CS_BND_FACES 1
78 #define CS_INT_FACES 2
85 #define CS_N_DOFS_FACE_0TH 1
86 #define CS_N_DOFS_FACE_1ST 3
87 #define CS_N_DOFS_FACE_2ND 6
89 #define CS_N_DOFS_CELL_0TH 1
90 #define CS_N_DOFS_CELL_1ST 4
91 #define CS_N_DOFS_CELL_2ND 10
#define BEGIN_C_DECLS
Definition: cs_defs.h:509
#define END_C_DECLS
Definition: cs_defs.h:510
void cs_param_cdo_log(void)
Print a welcome message indicating what is the current CDO status.
Definition: cs_param_cdo.c:130
cs_param_assemble_omp_strategy_t
Definition: cs_param_cdo.h:107
@ CS_PARAM_ASSEMBLE_OMP_ATOMIC
Definition: cs_param_cdo.h:109
@ CS_PARAM_ASSEMBLE_OMP_CRITICAL
Definition: cs_param_cdo.h:110
@ CS_PARAM_ASSEMBLE_OMP_N_STRATEGIES
Definition: cs_param_cdo.h:111
cs_param_cdo_mode_t
Definition: cs_param_cdo.h:96
@ CS_PARAM_CDO_MODE_ONLY
Definition: cs_param_cdo.h:100
@ CS_PARAM_CDO_MODE_OFF
Definition: cs_param_cdo.h:98
@ CS_PARAM_CDO_MODE_WITH_FV
Definition: cs_param_cdo.h:99
cs_param_cdo_mode_t cs_glob_param_cdo_mode
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:118
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:103