|
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];
Definition: cs_param_cdo.h:108
const char sepline[80]
Definition: cs_param_cdo.c:70
cs_param_hodge_type_t
Definition: cs_param_cdo.h:102
double coef
Definition: cs_param_cdo.h:137
cs_param_hodge_algo_t algo
Definition: cs_param_cdo.h:136
Definition: cs_param_cdo.h:129
Definition: cs_param_cdo.h:94
Definition: cs_param_cdo.h:122
Definition: cs_param_cdo.h:114
bool inv_pty
Definition: cs_param_cdo.h:133
const char h2_sep[80]
Definition: cs_param_cdo.c:68
Definition: cs_param_cdo.h:109
Definition: cs_param_cdo.h:95
#define END_C_DECLS
Definition: cs_defs.h:468
Definition: cs_param_cdo.h:121
Definition: cs_param_cdo.h:107
cs_param_hodge_type_t type
Definition: cs_param_cdo.h:135
cs_param_hodge_algo_t
Definition: cs_param_cdo.h:118
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
bool is_iso
Definition: cs_param_cdo.h:132
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
Definition: cs_param_cdo.h:112
Definition: cs_param_cdo.h:106
Definition: cs_param_cdo.h:113
cs_param_assemble_omp_strategy_t
Definition: cs_param_cdo.h:91
Definition: cs_param_cdo.h:123
const char msepline[50]
Definition: cs_param_cdo.c:72
Definition: cs_param_cdo.h:105
bool is_unity
Definition: cs_param_cdo.h:131
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
Definition: cs_param_cdo.h:120
Definition: cs_param_cdo.h:125
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
Definition: cs_param_cdo.h:93