#include "cs_base.h"
#include "cs_defs.h"
Go to the source code of this file.
|
typedef void() | cs_analytic_func_t(cs_real_t time, const cs_real_3_t xyz, cs_get_t *retval) |
| Generic analytic function. More...
|
|
typedef 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. More...
|
|
typedef void() | cs_onevar_law_func_t(double var_value, const void *law_param, cs_get_t *retval) |
| 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) More...
|
|
typedef void() | cs_twovar_law_func_t(double var1_value, double var2_value, const void *law_param, cs_get_t *retval) |
| 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) More...
|
|
typedef void() | cs_scavec_law_func_t(double var1_value, const double var2_vect[], const void *law_param, cs_get_t *retval) |
| Compute the value of a quantity according to a law depending only on two variables (the first one is a scalar and the second one a vector) This law is described by a set of parameters stored in a structure. result = law(var1_value, var2_value) More...
|
|
◆ CDO_ADVECTION
◆ CDO_DIFFUSION
◆ CDO_REACTION
◆ CDO_SOURCETERM
◆ CDO_TIME
◆ CS_CDO_BUILD_HCONF
#define CS_CDO_BUILD_HCONF (1 << 0) |
◆ CS_CDO_BUILD_LOC_HCONF
#define CS_CDO_BUILD_LOC_HCONF (1 << 1) |
◆ CS_CDO_DUAL_SOURCE
#define CS_CDO_DUAL_SOURCE (1 << 3) |
◆ CS_CDO_PRIMAL_SOURCE
#define CS_CDO_PRIMAL_SOURCE (1 << 2) |
◆ CS_FLAG_BORDER
#define CS_FLAG_BORDER (1 << 6) |
◆ CS_FLAG_CELL
#define CS_FLAG_CELL (1 << 5) |
◆ CS_FLAG_DUAL
#define CS_FLAG_DUAL (1 << 1) |
◆ CS_FLAG_EDGE
#define CS_FLAG_EDGE (1 << 3) |
◆ CS_FLAG_FACE
#define CS_FLAG_FACE (1 << 4) |
◆ CS_FLAG_PRIMAL
#define CS_FLAG_PRIMAL (1 << 0) |
◆ CS_FLAG_SCAL
#define CS_FLAG_SCAL (1 << 7) |
◆ CS_FLAG_SCAN_BY_CELL
#define CS_FLAG_SCAN_BY_CELL (1 << 10) |
◆ CS_FLAG_STATE_CELLWISE
#define CS_FLAG_STATE_CELLWISE (1 << 1) |
◆ CS_FLAG_STATE_CIRCULATION
#define CS_FLAG_STATE_CIRCULATION (1 << 4) |
◆ CS_FLAG_STATE_DENSITY
#define CS_FLAG_STATE_DENSITY (1 << 6) |
◆ CS_FLAG_STATE_FLUX
#define CS_FLAG_STATE_FLUX (1 << 5) |
◆ CS_FLAG_STATE_OWNER
#define CS_FLAG_STATE_OWNER (1 << 7) |
◆ CS_FLAG_STATE_POTENTIAL
#define CS_FLAG_STATE_POTENTIAL (1 << 3) |
◆ CS_FLAG_STATE_UNIFORM
#define CS_FLAG_STATE_UNIFORM (1 << 0) |
◆ CS_FLAG_STATE_UNSTEADY
#define CS_FLAG_STATE_UNSTEADY (1 << 2) |
◆ CS_FLAG_TENS
#define CS_FLAG_TENS (1 << 9) |
◆ CS_FLAG_VECT
#define CS_FLAG_VECT (1 << 8) |
◆ CS_FLAG_VERTEX
#define CS_FLAG_VERTEX (1 << 2) |
◆ CS_SCHEME_FLAG_CDOFB
#define CS_SCHEME_FLAG_CDOFB (1 << 2) |
◆ CS_SCHEME_FLAG_CDOVB
#define CS_SCHEME_FLAG_CDOVB (1 << 0) |
◆ CS_SCHEME_FLAG_CDOVCB
#define CS_SCHEME_FLAG_CDOVCB (1 << 1) |
◆ CS_SCHEME_FLAG_HHO
#define CS_SCHEME_FLAG_HHO (1 << 3) |
◆ CS_SCHEME_FLAG_SCALAR
#define CS_SCHEME_FLAG_SCALAR (1 << 4) |
◆ CS_SCHEME_FLAG_VECTOR
#define CS_SCHEME_FLAG_VECTOR (1 << 5) |
◆ N_CDO_TERMS
◆ cs_analytic_func_t
Generic analytic function.
- Parameters
-
[in] | time | when ? |
[in] | xyz | where ? |
[in,out] | retval | result of the function |
◆ cs_onevar_law_func_t
typedef void() cs_onevar_law_func_t(double var_value, const void *law_param, cs_get_t *retval) |
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)
- Parameters
-
[in] | var_value | value of the variable attached to this law |
[in] | law_param | set of paramters related to the current law |
[in,out] | retval | result of the function |
◆ cs_scavec_law_func_t
typedef void() cs_scavec_law_func_t(double var1_value, const double var2_vect[], const void *law_param, cs_get_t *retval) |
Compute the value of a quantity according to a law depending only on two variables (the first one is a scalar and the second one a vector) This law is described by a set of parameters stored in a structure. result = law(var1_value, var2_value)
- Parameters
-
[in] | var1_value | value of the first variable attached to this law |
[in] | var2_value | value of the second variable attached to this law |
[in] | law_param | set of paramters related to the current law |
[in,out] | retval | result of the function |
◆ cs_timestep_func_t
typedef 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.
- Parameters
-
[in] | time_iter | current number of iterations |
[in] | time | value of the time at the end of the last iteration |
- Returns
- the value of the time step
◆ cs_twovar_law_func_t
typedef void() cs_twovar_law_func_t(double var1_value, double var2_value, const void *law_param, cs_get_t *retval) |
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)
- Parameters
-
[in] | var1_value | value of the first variable attached to this law |
[in] | var2_value | value of the second variable attached to this law |
[in] | law_param | set of paramters related to the current law |
[in,out] | retval | result of the function |
◆ cs_space_scheme_t
Enumerator |
---|
CS_SPACE_SCHEME_CDOVB | |
CS_SPACE_SCHEME_CDOVCB | |
CS_SPACE_SCHEME_CDOFB | |
CS_SPACE_SCHEME_HHO | |
CS_SPACE_N_SCHEMES | |
◆ cs_base_strtf()
const char* cs_base_strtf |
( |
bool |
boolean | ) |
|
Return a string "true" or "false" according to the boolean.
- Parameters
-
- Returns
- a string "true" or "false"
◆ cs_cdo_same_support()
Check if a location matches a referenced support.
- Parameters
-
[in] | location | flag corresponding to the location to check |
[in] | reference | flag corresponding to the referenced support |
- Returns
- true or false
◆ cs_nvec3()
Define a cs_nvec3_t structure from a cs_real_3_t.
- Parameters
-
[in] | v | vector of size 3 |
[out] | qv | pointer to a cs_nvec3_t structure |
◆ cs_cdo_dual_cell
◆ cs_cdo_dual_face
◆ cs_cdo_dual_face_byc
◆ cs_cdo_dual_vtx
◆ cs_cdo_primal_cell
◆ cs_cdo_primal_face
◆ cs_cdo_primal_vtx
◆ lsepline
◆ msepline
◆ ssepline