cs_param_def_type_t * def_types
Definition: cs_param.h:306
int ml_id
Definition: cs_param.h:110
cs_time_scheme_t
Definition: cs_param.h:173
void() cs_analytic_func_t(cs_real_t time, cs_lnum_t n_points, const cs_real_t *xyz, cs_real_t *retval)
Generic analytic function.
Definition: cs_cdo.h:170
cs_param_bc_t * cs_param_bc_create(cs_param_bc_type_t default_bc)
Allocate and initialize a new cs_param_bc_t structure.
Definition: cs_param.c:367
Definition: cs_param.h:176
cs_nvec3_t nvec3
Definition: cs_param.h:59
void cs_param_set_def(cs_param_def_type_t def_type, cs_param_var_type_t var_type, const void *val, cs_def_t *def)
Set a cs_def_t structure.
Definition: cs_param.c:204
Definition: cs_param.h:139
cs_param_hodge_algo_t algo
Definition: cs_param.h:163
cs_param_precond_type_t precond
Definition: cs_param.h:363
Definition: cs_param.h:336
cs_real_t cs_real_2_t[2]
vector of 2 floating-point values
Definition: cs_defs.h:308
Definition: cs_param.h:338
cs_real_t cs_real_6_t[6]
vector of 6 floating-point values
Definition: cs_defs.h:311
cs_real_t theta
Definition: cs_param.h:187
cs_param_boundary_type_t
Definition: cs_param.h:262
cs_onevar_law_func_t * law1_func
Definition: cs_param.h:87
Definition: cs_param.h:99
Definition: cs_param.h:126
Definition: cs_param.h:124
Definition: cs_param.h:122
Definition: cs_param.h:226
bool inv_pty
Definition: cs_param.h:160
Definition: cs_param.h:350
Definition: cs_param.h:291
Definition: cs_param.h:355
int n_max_defs
Definition: cs_param.h:303
cs_param_advection_scheme_t scheme
Definition: cs_param.h:235
cs_user_func_t * user_func
Definition: cs_param.h:84
cs_param_itsol_type_t solver
Definition: cs_param.h:364
cs_param_advection_scheme_t
Definition: cs_param.h:209
cs_real_33_t tens
Definition: cs_param.h:61
Definition: cs_param.h:333
const char * cs_param_get_bc_enforcement_name(cs_param_bc_enforce_t type)
Get the name of the type of enforcement of the boundary condition.
Definition: cs_param.c:435
Definition: cs_param.h:278
#define BEGIN_C_DECLS
Definition: cs_defs.h:451
Definition: cs_param.h:279
Definition: cs_param.h:123
Definition: cs_param.h:215
Definition: cs_param.h:334
Definition: cs_param.h:147
Definition: cs_param.h:224
Definition: cs_param.h:100
Definition: cs_param.h:349
Definition: cs_param.h:266
const char * cs_param_get_precond_name(cs_param_precond_type_t precond)
Get the name of the preconditioner.
Definition: cs_param.c:572
bool is_unity
Definition: cs_param.h:158
cs_param_advection_weight_t
Definition: cs_param.h:222
cs_real_t() cs_timestep_func_t(int time_iter, double time)
Simple function to define the time step according to the number of iteration already done...
Definition: cs_cdo.h:188
int id
Definition: cs_param.h:54
Definition: cs_param.h:356
Definition: cs_param.h:287
Definition: cs_param.h:352
Definition: cs_param.h:339
Definition: cs_param.h:141
Definition: cs_param.h:135
Definition: cs_param.h:202
cs_param_advection_form_t
Definition: cs_param.h:200
Definition: cs_param.h:225
Definition: cs_param.h:351
Definition: cs_param.h:177
Definition: cs_param.h:51
bool is_iso
Definition: cs_param.h:159
void() cs_onevar_law_func_t(cs_lnum_t n_elts, const cs_lnum_t elt_ids[], const cs_real_t var_values[], const void *law_param, cs_real_t res_array[])
Compute the value of a quantity according to a law depending only on one variable. This law is described by a set of parameters stored in a structure. result = law(var_value)
Definition: cs_cdo.h:207
double cs_real_t
Floating-point value.
Definition: cs_defs.h:297
Definition: cs_param.h:138
Definition: cs_param.h:125
Definition: cs_param.h:264
Definition: cs_param.h:140
char * name
Definition: cs_param.h:253
Definition: cs_param.h:247
Definition: cs_param.h:342
Definition: cs_param.h:152
Definition: cs_param.h:232
bool do_lumping
Definition: cs_param.h:188
Definition: cs_param.h:275
cs_def_t def
Definition: cs_param.h:112
cs_timestep_func_t * time_func
Definition: cs_param.h:81
Definition: cs_param.h:101
cs_time_scheme_t scheme
Definition: cs_param.h:186
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.c:512
cs_param_def_type_t def_type
Definition: cs_param.h:111
Definition: cs_param.h:203
cs_real_2_t couple
Definition: cs_param.h:57
int output_freq
Definition: cs_param.h:369
Definition: cs_param.h:150
int n_max_iter
Definition: cs_param.h:366
cs_twovar_law_func_t * law2_func
Definition: cs_param.h:90
Definition: cs_param.h:103
Definition: cs_param.h:293
cs_quadra_type_t quad_type
Definition: cs_param.h:237
const char * cs_param_get_bc_name(cs_param_bc_type_t bc)
Get the name of the type of boundary condition.
Definition: cs_param.c:400
int n_defs
Definition: cs_param.h:304
const char * cs_param_get_def_type_name(const cs_param_def_type_t type)
Get the name related to a type of definition.
Definition: cs_param.c:135
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.c:496
cs_analytic_func_t * analytic
Definition: cs_param.h:78
cs_param_def_t * ic_definitions
Definition: cs_param.h:192
cs_param_precond_type_t
Definition: cs_param.h:331
cs_param_hodge_type_t type
Definition: cs_param.h:162
Definition: cs_param.h:184
Definition: cs_param.h:335
Definition: cs_param.h:214
Definition: cs_param.h:136
cs_param_itsol_type_t
Definition: cs_param.h:347
void cs_param_set_def_by_value(cs_param_var_type_t var_type, const cs_get_t get, cs_def_t *def)
Set a definition by value.
Definition: cs_param.c:151
cs_param_advection_form_t formulation
Definition: cs_param.h:234
Definition: cs_param.h:267
cs_real_t val
Definition: cs_param.h:56
Definition: cs_param.h:108
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:309
void() cs_user_func_t(const void *input1, const void *input2, cs_real_t tcur, const cs_real_3_t xyz, cs_get_t *output)
Definition: cs_param.h:66
cs_real_6_t twovects
Definition: cs_param.h:60
cs_param_bc_type_t
Definition: cs_param.h:273
void() cs_twovar_law_func_t(cs_lnum_t n_elts, const cs_lnum_t elt_ids[], const double var1_values[], const double var2_values[], const void *law_param, cs_real_t res_array[])
Compute the value of a quantity according to a law depending only on two variables. This law is described by a set of parameters stored in a structure. result = law(var1_value, var2_value)
Definition: cs_cdo.h:230
cs_param_bc_enforce_t enforcement
Definition: cs_param.h:321
Definition: cs_param.h:265
Definition: cs_param.h:102
Definition: cs_param.h:290
cs_quadra_type_t
Definition: cs_quadrature.h:47
Definition: cs_param.h:96
int * ml_ids
Definition: cs_param.h:310
Definition: cs_param.h:72
Definition: cs_param.h:280
Definition: cs_param.h:337
cs_quadra_type_t quad_type
Definition: cs_param.h:324
cs_param_advection_weight_t weight_criterion
Definition: cs_param.h:236
cs_lnum_t num
Definition: cs_param.h:55
Definition: cs_param.h:175
cs_param_hodge_type_t
Definition: cs_param.h:133
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:293
Definition: cs_param.h:212
Definition: cs_param.h:178
const char * cs_param_get_var_type_name(const cs_param_var_type_t type)
Get the name related to a type of variable.
Definition: cs_param.c:119
const char * cs_param_reaction_get_type_name(cs_param_reaction_type_t r_info)
Get the name of the type of reaction term.
Definition: cs_param.c:468
Definition: cs_param.h:246
Definition: cs_param.h:354
Definition: cs_param.h:353
const char * cs_param_get_solver_name(cs_param_itsol_type_t solver)
Get the name of the solver.
Definition: cs_param.c:528
Definition: cs_param.h:149
cs_param_bc_type_t * types
Definition: cs_param.h:315
#define END_C_DECLS
Definition: cs_defs.h:452
cs_def_t * defs
Definition: cs_param.h:307
unsigned short int cs_flag_t
Definition: cs_defs.h:299
Definition: cs_param.h:268
cs_param_bc_type_t default_bc
Definition: cs_param.h:300
const void * context
Definition: cs_param.h:114
Definition: cs_param.h:216
cs_param_reaction_type_t type
Definition: cs_param.h:254
cs_param_var_type_t
Definition: cs_param.h:120
int n_ic_definitions
Definition: cs_param.h:191
Definition: cs_param.h:277
Definition: cs_param.h:104
Definition: cs_param.h:251
bool resid_normalized
Definition: cs_param.h:370
cs_real_t cs_real_33_t[3][3]
3x3 matrix of floating-point values
Definition: cs_defs.h:315
Definition: cs_param.h:137
Definition: cs_param.h:211
double coef
Definition: cs_param.h:164
Definition: cs_param.h:288
Definition: cs_param.h:276
Definition: cs_param.h:298
Definition: cs_param.h:340
cs_param_reaction_type_t
Definition: cs_param.h:244
cs_param_hodge_algo_t
Definition: cs_param.h:145
Definition: cs_param.h:156
double eps
Definition: cs_param.h:367
cs_flag_t flag
Definition: cs_param.h:53
Definition: cs_param.h:98
cs_param_bc_enforce_t
Definition: cs_param.h:285
Definition: cs_param.h:341
cs_param_def_type_t
Definition: cs_param.h:94
Definition: cs_param.h:179
Definition: cs_param.h:97
Definition: cs_param.h:204
Definition: cs_param.h:361
Definition: cs_param.h:148
void cs_param_set_get(cs_param_var_type_t var_type, const char *val, cs_get_t *get)
Set a cs_get_t structure.
Definition: cs_param.c:300
Definition: cs_param.h:213
cs_real_3_t vect
Definition: cs_param.h:58