1#ifndef __CS_PARAM_CDO_H__
2#define __CS_PARAM_CDO_H__
46#define CS_CDO_KEEP_DEFAULT -2
50#define CS_CDO_OMP_CHUNK_SIZE 128
51#define CS_CDO_OMP_SCHEDULE schedule(static, CS_CDO_OMP_CHUNK_SIZE)
52#define CS_CDO_OMP_SYNC_MODE 0
57#if defined(HAVE_OPENMP) && defined(__GNUC__)
59 #define CS_CDO_OMP_ASSERT(e)
61 #define CS_CDO_OMP_ASSERT(e) assert(e)
64 #define CS_CDO_OMP_ASSERT(e) assert(e)
72#define CS_CDO_N_MAX_REACTIONS 8
83#define CS_N_DOFS_FACE_0TH 1
84#define CS_N_DOFS_FACE_1ST 3
85#define CS_N_DOFS_FACE_2ND 6
87#define CS_N_DOFS_CELL_0TH 1
88#define CS_N_DOFS_CELL_1ST 4
89#define CS_N_DOFS_CELL_2ND 10
#define BEGIN_C_DECLS
Definition: cs_defs.h:542
#define END_C_DECLS
Definition: cs_defs.h:543
void cs_param_cdo_log(void)
Print a welcome message indicating what is the current CDO status.
Definition: cs_param_cdo.cpp:113
cs_param_cdo_mode_t
Definition: cs_param_cdo.h:94
@ CS_PARAM_CDO_MODE_ONLY
Definition: cs_param_cdo.h:98
@ CS_PARAM_CDO_MODE_OFF
Definition: cs_param_cdo.h:96
@ CS_PARAM_CDO_MODE_WITH_FV
Definition: cs_param_cdo.h:97
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.cpp:145
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:101
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:87