 |
6.3
general documentation
|
|
Go to the documentation of this file. 1 #ifndef __CS_PARAM_TYPES_H__
2 #define __CS_PARAM_TYPES_H__
55 #define CS_ISOTROPIC_DIFFUSION (1 << 0)
58 #define CS_ORTHOTROPIC_DIFFUSION (1 << 1)
61 #define CS_ANISOTROPIC_LEFT_DIFFUSION (1 << 2)
64 #define CS_ANISOTROPIC_RIGHT_DIFFUSION (1 << 3)
67 #define CS_ANISOTROPIC_DIFFUSION ((1 << 2) + (1 << 3))
@ CS_PARAM_BC_HMG_NEUMANN
Definition: cs_param_types.h:430
@ CS_PARAM_N_BC_TYPES
Definition: cs_param_types.h:436
@ CS_PARAM_ITSOL_AMG
Definition: cs_param_types.h:689
@ CS_TIME_SCHEME_CRANKNICO
Definition: cs_param_types.h:239
@ CS_PARAM_ADVECTION_SCHEME_SG
Definition: cs_param_types.h:318
@ CS_PARAM_ADVECTION_FORM_SKEWSYM
Definition: cs_param_types.h:271
@ CS_PARAM_ITSOL_MUMPS
Definition: cs_param_types.h:702
@ CS_PARAM_ADVECTION_SCHEME_HYBRID_CENTERED_UPWIND
Definition: cs_param_types.h:316
@ CS_PARAM_BC_ROBIN
Definition: cs_param_types.h:432
@ CS_PARAM_ADVECTION_FORM_CONSERV
Definition: cs_param_types.h:269
@ CS_SPACE_SCHEME_CDOEB
Definition: cs_param_types.h:177
const char * cs_param_get_advection_form_name(cs_param_advection_form_t adv_form)
Get the label associated to the advection formulation.
Definition: cs_param_types.c:283
void() cs_analytic_func_t(cs_real_t time, cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t *coords, bool dense_output, void *input, cs_real_t *retval)
Generic function pointer for an evaluation relying on an analytic function elt_ids is optional....
Definition: cs_param_types.h:94
@ CS_SPACE_SCHEME_HHO_P0
Definition: cs_param_types.h:179
@ CS_PARAM_BC_HMG_DIRICHLET
Definition: cs_param_types.h:428
const char * cs_param_get_advection_extrapol_name(cs_param_advection_extrapol_t extrapol)
Get the label associated to the extrapolation used for the advection field.
Definition: cs_param_types.c:360
@ CS_PARAM_ADVECTION_SCHEME_CIP
Definition: cs_param_types.h:314
cs_param_bc_enforce_t
Definition: cs_param_types.h:469
@ CS_PARAM_ADVECTION_EXPLICIT
Definition: cs_param_types.h:348
@ CS_PARAM_PRECOND_NONE
Definition: cs_param_types.h:600
@ CS_PARAM_ADVECTION_EXTRAPOL_NONE
Definition: cs_param_types.h:380
const char * cs_param_get_amg_type_name(cs_param_amg_type_t type)
Get the name of the type of algebraic multigrid (AMG)
Definition: cs_param_types.c:580
@ CS_PARAM_BC_SLIDING
Definition: cs_param_types.h:433
cs_param_itsol_type_t solver
Definition: cs_param_types.h:745
@ CS_PARAM_SLES_CLASS_CS
Definition: cs_param_types.h:507
@ CS_SPACE_SCHEME_HHO_P1
Definition: cs_param_types.h:180
const char * cs_param_get_time_scheme_name(cs_param_time_scheme_t scheme)
Get the name of the time discretization scheme.
Definition: cs_param_types.c:256
@ CS_PARAM_REDUCTION_AVERAGE
Definition: cs_param_types.h:202
@ CS_PARAM_PRECOND_GKB_CG
Definition: cs_param_types.h:608
void() cs_time_func_t(double time, void *input, cs_real_t *retval)
Function which defines the evolution of a quantity according to the current time and any structure gi...
Definition: cs_param_types.h:137
@ CS_SPACE_N_SCHEMES
Definition: cs_param_types.h:183
const char * cs_param_get_solver_name(cs_param_itsol_type_t solver)
Get the name of the solver.
Definition: cs_param_types.c:437
int n_max_iter
Definition: cs_param_types.h:753
@ CS_PARAM_AMG_PETSC_GAMG
Definition: cs_param_types.h:526
#define END_C_DECLS
Definition: cs_defs.h:493
const char cs_sep_h1[80]
Definition: cs_param_types.c:65
cs_param_resnorm_type_t resnorm_type
Definition: cs_param_types.h:752
double eps
Definition: cs_param_types.h:754
@ CS_PARAM_ITSOL_MINRES
Definition: cs_param_types.h:701
@ CS_PARAM_N_ADVECTION_EXTRAPOLATIONS
Definition: cs_param_types.h:384
const char cs_sep_h2[80]
Definition: cs_param_types.c:67
cs_param_advection_strategy_t
Choice of how to handle the advection term in an equation.
Definition: cs_param_types.h:344
@ CS_PARAM_PRECOND_BJACOB_ILU0
Definition: cs_param_types.h:602
double cs_real_t
Floating-point value.
Definition: cs_defs.h:304
@ CS_PARAM_PRECOND_ILU0
Definition: cs_param_types.h:610
const char cs_med_sepline[50]
Definition: cs_param_types.c:71
@ CS_PARAM_N_REDUCTIONS
Definition: cs_param_types.h:204
cs_param_resnorm_type_t
Definition: cs_param_types.h:716
#define BEGIN_C_DECLS
Definition: cs_defs.h:492
bool cs_param_space_scheme_is_face_based(cs_param_space_scheme_t scheme)
Return true if the space scheme has degrees of freedom on faces, otherwise false.
Definition: cs_param_types.c:205
cs_param_sles_class_t
Class of iterative solvers to consider for solver the linear system.
Definition: cs_param_types.h:505
@ CS_PARAM_PRECOND_POLY1
Definition: cs_param_types.h:612
@ CS_PARAM_ADVECTION_SCHEME_UPWIND
Definition: cs_param_types.h:319
@ CS_PARAM_ITSOL_CG
Definition: cs_param_types.h:692
@ CS_PARAM_ITSOL_BICGSTAB2
Definition: cs_param_types.h:691
@ CS_PARAM_PRECOND_ICC0
Definition: cs_param_types.h:611
@ CS_PARAM_PRECOND_AMG_BLOCK
Definition: cs_param_types.h:605
@ CS_PARAM_N_RESNORM_TYPES
Definition: cs_param_types.h:726
@ CS_TIME_SCHEME_EULER_EXPLICIT
Definition: cs_param_types.h:238
cs_param_dof_reduction_t
Definition: cs_param_types.h:199
@ CS_PARAM_PRECOND_BJACOB_SGS
Definition: cs_param_types.h:603
void() cs_dof_func_t(cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool dense_output, void *input, cs_real_t *retval)
Generic function pointer for computing a quantity at predefined locations such as degrees of freedom ...
Definition: cs_param_types.h:119
@ CS_PARAM_ITSOL_GKB_CG
Definition: cs_param_types.h:697
@ CS_SPACE_SCHEME_HHO_P2
Definition: cs_param_types.h:181
cs_param_time_scheme_t
Definition: cs_param_types.h:234
cs_param_itsol_type_t
Definition: cs_param_types.h:685
const char * cs_param_get_space_scheme_name(cs_param_space_scheme_t scheme)
Get the name of the space discretization scheme.
Definition: cs_param_types.c:227
cs_param_amg_type_t amg_type
Definition: cs_param_types.h:746
@ CS_PARAM_RESNORM_FILTERED_RHS
Definition: cs_param_types.h:723
@ CS_PARAM_ITSOL_GMRES
Definition: cs_param_types.h:699
@ CS_PARAM_N_AMG_TYPES
Definition: cs_param_types.h:531
void cs_param_sles_copy_from(cs_param_sles_t src, cs_param_sles_t *dst)
Copy a cs_param_sles_t structure from src to dst.
Definition: cs_param_types.c:173
@ CS_PARAM_REDUCTION_DERHAM
Definition: cs_param_types.h:201
@ CS_PARAM_SLES_N_CLASSES
Definition: cs_param_types.h:512
@ CS_PARAM_N_ADVECTION_SCHEMES
Definition: cs_param_types.h:321
@ CS_PARAM_PRECOND_AMG
Definition: cs_param_types.h:604
@ CS_PARAM_ITSOL_JACOBI
Definition: cs_param_types.h:700
@ CS_PARAM_ITSOL_FCG
Definition: cs_param_types.h:694
@ CS_PARAM_ITSOL_CR3
Definition: cs_param_types.h:693
@ CS_PARAM_AMG_PETSC_PCMG
Definition: cs_param_types.h:527
@ CS_TIME_SCHEME_EULER_IMPLICIT
Definition: cs_param_types.h:237
@ CS_PARAM_ADVECTION_SCHEME_CIP_CW
Definition: cs_param_types.h:315
@ CS_PARAM_PRECOND_SSOR
Definition: cs_param_types.h:614
@ CS_PARAM_ITSOL_GKB_GMRES
Definition: cs_param_types.h:698
@ CS_PARAM_AMG_HYPRE_BOOMER
Definition: cs_param_types.h:525
cs_param_advection_extrapol_t
Choice of how to extrapolate the advection field in the advection term.
Definition: cs_param_types.h:378
@ CS_PARAM_ADVECTION_IMPLICIT_LINEARIZED
Definition: cs_param_types.h:347
@ CS_PARAM_AMG_HOUSE_V
Definition: cs_param_types.h:528
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
@ CS_PARAM_N_BC_ENFORCEMENTS
Definition: cs_param_types.h:476
cs_param_precond_type_t precond
Definition: cs_param_types.h:744
const char * cs_param_get_advection_strategy_name(cs_param_advection_strategy_t adv_stra)
Get the label associated to the advection strategy.
Definition: cs_param_types.c:335
@ CS_PARAM_ITSOL_NONE
Definition: cs_param_types.h:687
@ CS_PARAM_ITSOL_FGMRES
Definition: cs_param_types.h:695
const char cs_sepline[80]
Definition: cs_param_types.c:69
@ CS_PARAM_RESNORM_WEIGHTED_RHS
Definition: cs_param_types.h:721
@ CS_PARAM_ADVECTION_SCHEME_CENTERED
Definition: cs_param_types.h:313
cs_param_advection_scheme_t
Definition: cs_param_types.h:311
cs_param_space_scheme_t
Type of numerical scheme for the discretization in space.
Definition: cs_param_types.h:172
@ CS_SPACE_SCHEME_LEGACY
Definition: cs_param_types.h:174
const char * cs_param_get_advection_scheme_name(cs_param_advection_scheme_t scheme)
Get the label of the advection scheme.
Definition: cs_param_types.c:307
const char * cs_param_get_precond_name(cs_param_precond_type_t precond)
Get the name of the preconditioner.
Definition: cs_param_types.c:513
@ CS_TIME_SCHEME_BDF2
Definition: cs_param_types.h:241
cs_param_precond_type_t
Definition: cs_param_types.h:598
int field_id
Definition: cs_param_types.h:740
@ CS_PARAM_BC_ENFORCE_WEAK_NITSCHE
Definition: cs_param_types.h:473
@ CS_PARAM_N_PRECOND_TYPES
Definition: cs_param_types.h:616
@ CS_PARAM_ADVECTION_SCHEME_SAMARSKII
Definition: cs_param_types.h:317
@ CS_PARAM_PRECOND_AS
Definition: cs_param_types.h:606
@ CS_PARAM_PRECOND_GKB_GMRES
Definition: cs_param_types.h:609
cs_param_bc_type_t
Definition: cs_param_types.h:426
cs_param_sles_class_t solver_class
Definition: cs_param_types.h:743
@ CS_SPACE_SCHEME_CDOVCB
Definition: cs_param_types.h:176
@ CS_PARAM_BC_NEUMANN
Definition: cs_param_types.h:431
@ CS_PARAM_RESNORM_NONE
Definition: cs_param_types.h:718
@ CS_PARAM_SLES_CLASS_PETSC
Definition: cs_param_types.h:510
@ CS_PARAM_BC_CIRCULATION
Definition: cs_param_types.h:434
@ CS_PARAM_ADVECTION_EXTRAPOL_TAYLOR_2
Definition: cs_param_types.h:381
@ CS_TIME_N_SCHEMES
Definition: cs_param_types.h:243
@ CS_SPACE_SCHEME_CDOVB
Definition: cs_param_types.h:175
@ CS_PARAM_ITSOL_BICG
Definition: cs_param_types.h:690
@ CS_PARAM_N_ADVECTION_STRATEGIES
Definition: cs_param_types.h:350
@ CS_PARAM_AMG_NONE
Definition: cs_param_types.h:524
@ CS_TIME_SCHEME_STEADY
Definition: cs_param_types.h:236
@ CS_PARAM_ADVECTION_FORM_NONCONS
Definition: cs_param_types.h:270
bool setup_done
Definition: cs_param_types.h:738
@ CS_PARAM_BC_DIRICHLET
Definition: cs_param_types.h:429
@ CS_PARAM_ITSOL_MUMPS_LDLT
Definition: cs_param_types.h:703
@ CS_PARAM_ADVECTION_EXTRAPOL_ADAMS_BASHFORTH_2
Definition: cs_param_types.h:382
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_types.c:384
Structure storing all metadata related to the resolution of a linear system with an iterative solver.
Definition: cs_param_types.h:736
@ CS_PARAM_BC_ENFORCE_WEAK_SYM
Definition: cs_param_types.h:474
cs_param_amg_type_t
Definition: cs_param_types.h:522
@ CS_PARAM_PRECOND_DIAG
Definition: cs_param_types.h:607
@ CS_TIME_SCHEME_THETA
Definition: cs_param_types.h:240
@ CS_PARAM_SLES_CLASS_MUMPS
Definition: cs_param_types.h:509
@ CS_PARAM_AMG_HOUSE_K
Definition: cs_param_types.h:529
@ CS_PARAM_ADVECTION_IMPLICIT_FULL
Definition: cs_param_types.h:346
@ CS_PARAM_BC_ENFORCE_ALGEBRAIC
Definition: cs_param_types.h:471
@ CS_PARAM_BC_ENFORCE_PENALIZED
Definition: cs_param_types.h:472
int verbosity
Definition: cs_param_types.h:739
@ CS_PARAM_N_ADVECTION_FORMULATIONS
Definition: cs_param_types.h:273
@ CS_PARAM_ITSOL_GAUSS_SEIDEL
Definition: cs_param_types.h:696
@ CS_PARAM_ITSOL_SYM_GAUSS_SEIDEL
Definition: cs_param_types.h:704
cs_param_advection_form_t
Definition: cs_param_types.h:267
@ CS_PARAM_PRECOND_POLY2
Definition: cs_param_types.h:613
@ CS_SPACE_SCHEME_CDOFB
Definition: cs_param_types.h:178
@ CS_PARAM_SLES_CLASS_HYPRE
Definition: cs_param_types.h:508
@ CS_PARAM_N_ITSOL_TYPES
Definition: cs_param_types.h:706
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_types.c:412
@ CS_PARAM_RESNORM_NORM2_RHS
Definition: cs_param_types.h:719