Go to the source code of this file.
§ CS_EQUATION_CONVECTION
#define CS_EQUATION_CONVECTION (1 << 2) |
§ CS_EQUATION_DIFFUSION
#define CS_EQUATION_DIFFUSION (1 << 3) |
§ CS_EQUATION_LOCKED
#define CS_EQUATION_LOCKED (1 << 0) |
§ CS_EQUATION_POST_COURANT
#define CS_EQUATION_POST_COURANT (1 << 1) |
§ CS_EQUATION_POST_FOURIER
#define CS_EQUATION_POST_FOURIER (1 << 2) |
§ CS_EQUATION_POST_PECLET
#define CS_EQUATION_POST_PECLET (1 << 0) |
§ CS_EQUATION_POST_UPWIND_COEF
#define CS_EQUATION_POST_UPWIND_COEF (1 << 3) |
§ CS_EQUATION_REACTION
#define CS_EQUATION_REACTION (1 << 4) |
§ CS_EQUATION_UNSTEADY
#define CS_EQUATION_UNSTEADY (1 << 1) |
§ cs_equation_algo_type_t
Enumerator |
---|
CS_EQUATION_ALGO_CS_ITSOL | |
CS_EQUATION_ALGO_PETSC_ITSOL | |
CS_EQUATION_ALGO_UZAWA | |
CS_EQUATION_ALGO_NEWTON | |
CS_EQUATION_ALGO_PICARD | |
CS_EQUATION_N_ALGOS | |
§ cs_equation_type_t
Enumerator |
---|
CS_EQUATION_TYPE_USER | |
CS_EQUATION_TYPE_GROUNDWATER | |
CS_EQUATION_TYPE_PREDEFINED | |
CS_EQUATION_N_TYPES | |
§ cs_equation_param_create()
Create a cs_equation_param_t.
- Parameters
-
[in] | type | type of equation |
[in] | var_type | type of variable (scalar, vector, tensor...) |
[in] | default_bc | type of boundary condition set by default |
- Returns
- a pointer to a new allocated cs_equation_param_t structure
§ cs_equation_param_free()
§ cs_equation_param_init_sles()
void cs_equation_param_init_sles |
( |
const char * |
eqname, |
|
|
const cs_equation_param_t * |
eqp, |
|
|
int |
field_id |
|
) |
| |
Initialize SLES structure for the resolution of the linear system according to the settings related to this equation.
- Parameters
-
[in] | eqname | pointer to an cs_equation_t structure |
[in] | eqp | pointer to a cs_equation_param_t struct. |
[in] | field_id | id of the cs_field_t struct. for this equation |
§ cs_equation_param_summary()