 |
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_PARAM_CDO_H__
2 #define __CS_PARAM_CDO_H__
45 #define CS_CDO_OMP_CHUNK_SIZE 128
46 #define CS_CDO_OMP_SCHEDULE schedule(static, CS_CDO_OMP_CHUNK_SIZE)
47 #define CS_CDO_OMP_SYNC_SECTIONS 0
51 #if defined(HAVE_OPENMP) && defined(__GNUC__)
53 #define CS_CDO_OMP_ASSERT(e)
55 #define CS_CDO_OMP_ASSERT(e) assert(e)
58 #define CS_CDO_OMP_ASSERT(e) assert(e)
64 #define CS_CDO_ASSEMBLE_BUF_SIZE 99
69 #define CS_CDO_N_MAX_REACTIONS 8 // Max number of reaction terms in an equation
71 #define CS_ALL_FACES 0
72 #define CS_BND_FACES 1
73 #define CS_INT_FACES 2
76 #define CS_N_FACE_DOFS_0TH 1
77 #define CS_N_FACE_DOFS_1ST 3
78 #define CS_N_FACE_DOFS_2ND 6
80 #define CS_N_CELL_DOFS_0TH 1
81 #define CS_N_CELL_DOFS_1ST 4
82 #define CS_N_CELL_DOFS_2ND 10
147 extern const char h1_sep[80];
148 extern const char h2_sep[80];
@ CS_PARAM_HODGE_TYPE_EDFP
Definition: cs_param_cdo.h:107
const char sepline[80]
Definition: cs_param_cdo.c:70
cs_param_hodge_type_t
Definition: cs_param_cdo.h:101
Definition: cs_param_cdo.h:128
@ CS_PARAM_ASSEMBLE_OMP_CRITICAL
Definition: cs_param_cdo.h:93
@ CS_PARAM_HODGE_ALGO_COST
Definition: cs_param_cdo.h:121
@ CS_PARAM_N_HODGE_TYPES
Definition: cs_param_cdo.h:113
const char h2_sep[80]
Definition: cs_param_cdo.c:68
@ CS_PARAM_HODGE_TYPE_CPVD
Definition: cs_param_cdo.h:108
@ CS_PARAM_ASSEMBLE_OMP_N_STRATEGIES
Definition: cs_param_cdo.h:94
#define END_C_DECLS
Definition: cs_defs.h:468
@ CS_PARAM_HODGE_ALGO_WBS
Definition: cs_param_cdo.h:120
@ CS_PARAM_HODGE_TYPE_FPED
Definition: cs_param_cdo.h:106
cs_param_hodge_algo_t
Definition: cs_param_cdo.h:117
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
const char * cs_param_hodge_get_type_name(const cs_param_hodge_t h_info)
Get the type of discrete Hodge operator.
Definition: cs_param_cdo.c:129
@ CS_PARAM_HODGE_TYPE_FB
Definition: cs_param_cdo.h:111
@ CS_PARAM_HODGE_TYPE_EPFD
Definition: cs_param_cdo.h:105
@ CS_PARAM_HODGE_TYPE_VC
Definition: cs_param_cdo.h:112
cs_param_assemble_omp_strategy_t
Definition: cs_param_cdo.h:90
@ CS_PARAM_HODGE_ALGO_AUTO
Definition: cs_param_cdo.h:122
const char msepline[50]
Definition: cs_param_cdo.c:72
@ CS_PARAM_HODGE_TYPE_VPCD
Definition: cs_param_cdo.h:104
const char * cs_param_hodge_get_algo_name(const cs_param_hodge_t h_info)
Get the name of algorithm related to a discrete Hdoge operator.
Definition: cs_param_cdo.c:113
const char h1_sep[80]
Definition: cs_param_cdo.c:66
@ CS_PARAM_HODGE_ALGO_VORONOI
Definition: cs_param_cdo.h:119
@ CS_PARAM_N_HODGE_ALGOS
Definition: cs_param_cdo.h:124
void cs_param_hodge_log(const char *prefix, const cs_param_hodge_t hp)
Output the settings related to a cs_param_hodge_t structure.
Definition: cs_param_cdo.c:144
@ CS_PARAM_ASSEMBLE_OMP_ATOMIC
Definition: cs_param_cdo.h:92
void const cs_int_t * type
Definition: cs_measures_util.h:425