Go to the source code of this file.
◆ CS_CDO_BC_DEFAULT_DEF
#define CS_CDO_BC_DEFAULT_DEF -1 |
◆ cs_cdo_bc_face_define()
Define the structure which translates the BC definitions from the user viewpoint into a ready-to-use structure for setting the arrays keeping the values of the boundary condition to set.
- Parameters
-
[in] | default_bc | type of boundary condition to set by default |
[in] | is_steady | modification or not of the BC selection in time |
[in] | dim | dimension of the related equation |
[in] | n_defs | number of boundary definitions |
[in] | defs | list of boundary condition definition |
[in] | n_b_faces | number of border faces |
- Returns
- a pointer to a new allocated cs_cdo_bc_face_t structure
◆ cs_cdo_bc_free()
◆ cs_cdo_bc_get_desc()
static void cs_cdo_bc_get_desc |
( |
cs_flag_t |
bc_flag, |
|
|
char * |
desc |
|
) |
| |
|
inlinestatic |
Convert a flag into a description.
- Parameters
-
[in] | bc_flag | flag of boundary condition |
[in,out] | desc | string storing the description of the BC |
◆ cs_cdo_bc_get_flag()
Convert a cs_param_bc_type_t into a flag (enable multiple type for a same entity as required for vertices and edges)
- Parameters
-
[in] | bc_type | predefined type of boundary condition |
- Returns
- a flag corresponding to the given type of boundary condition
◆ cs_cdo_bc_is_dirichlet()
static bool cs_cdo_bc_is_dirichlet |
( |
cs_flag_t |
flag | ) |
|
|
inlinestatic |
Check if a flag is associated to a Dirichlet BC (homogeneous or not)
- Parameters
-
- Returns
- true or false
◆ cs_cdo_bc_is_neumann()
static bool cs_cdo_bc_is_neumann |
( |
cs_flag_t |
flag | ) |
|
|
inlinestatic |
Check if a flag is associated to a Neumann BC (homogeneous or not)
- Parameters
-
- Returns
- true or false
◆ cs_cdo_bc_is_sliding()
static bool cs_cdo_bc_is_sliding |
( |
cs_flag_t |
flag | ) |
|
|
inlinestatic |
Check if a flag is associated to a sliding boundary.
- Parameters
-
- Returns
- true or false