![]() |
programmer's documentation
|
Go to the source code of this file.
Data Structures | |
struct | cs_cdo_bc_list_t |
struct | cs_cdo_bc_t |
Functions | |
cs_cdo_bc_list_t * | cs_cdo_bc_list_create (cs_lnum_t n_elts, cs_lnum_t n_nhmg_elts) |
Create a cs_cdo_bc_list_t structure. More... | |
cs_cdo_bc_list_t * | cs_cdo_bc_list_free (cs_cdo_bc_list_t *bcl) |
Free a cs_cdo_bc_list_t structure. More... | |
cs_cdo_bc_t * | cs_cdo_bc_init (const cs_param_bc_t *param_bc, cs_lnum_t n_b_faces) |
Prepare the treatment of the boundary conditions. Compile the information detailed in a cs_param_bc_t structure into the structure cs_cdo_bc_t (based on border faces). This is a primilary step to be ready to set the values of the BC. More... | |
cs_cdo_bc_t * | cs_cdo_bc_free (cs_cdo_bc_t *face_bc) |
Free a cs_cdo_bc_t structure. More... | |
cs_cdo_bc_list_t * | cs_cdo_bc_vtx_dir_create (const cs_mesh_t *m, const cs_cdo_bc_t *face_bc) |
Build cs_cdo_bc_list_t structures for Dirichlet BC on primal vertices. When there is a choice between homogeneous or non homogeneous BCs, we always set the homogeneous condition for Dirichlet BCs. More... | |
void | cs_cdo_bc_dirichlet_set (cs_flag_t dof_flag, const cs_time_step_t *time_step, const void *geom, const cs_param_bc_t *bc, const cs_cdo_bc_list_t *ent_dir, double *dir_val) |
Set the Dirichlet values to enforce on the corresponding entities. More... | |
void cs_cdo_bc_dirichlet_set | ( | cs_flag_t | dof_flag, |
const cs_time_step_t * | time_step, | ||
const void * | geom, | ||
const cs_param_bc_t * | bc, | ||
const cs_cdo_bc_list_t * | ent_dir, | ||
double * | dir_val | ||
) |
Set the Dirichlet values to enforce on the corresponding entities.
[in] | dof_flag | information about the corresponding DoF to treat |
[in] | time_step | pointer to a time step structure |
[in] | geom | structure storing geometric information |
[in] | bc | pointer to a cs_param_bc_t structure |
[in] | ent_dir | pointer to a cs_cdo_bc_list_t |
[in,out] | dir_val | array used to store Dirichlet values |
cs_cdo_bc_t* cs_cdo_bc_free | ( | cs_cdo_bc_t * | face_bc | ) |
Free a cs_cdo_bc_t structure.
[in,out] | face_bc | pointer to a cs_cdo_bc_t structure |
cs_cdo_bc_t* cs_cdo_bc_init | ( | const cs_param_bc_t * | param_bc, |
cs_lnum_t | n_b_faces | ||
) |
Prepare the treatment of the boundary conditions. Compile the information detailed in a cs_param_bc_t structure into the structure cs_cdo_bc_t (based on border faces). This is a primilary step to be ready to set the values of the BC.
[in] | param_bc | pointer to the parameters related to BCs of an eq. |
[in] | n_b_faces | number of border faces |
[in] | param_bc | pointer to the parameters related to BCs |
[in] | n_b_faces | number of border faces |
cs_cdo_bc_list_t* cs_cdo_bc_list_create | ( | cs_lnum_t | n_elts, |
cs_lnum_t | n_nhmg_elts | ||
) |
Create a cs_cdo_bc_list_t structure.
[in] | n_elts | number of entries of the list |
[in] | n_nhmg_elts | number of elements attached to a homogeneous BC |
cs_cdo_bc_list_t* cs_cdo_bc_list_free | ( | cs_cdo_bc_list_t * | bcl | ) |
Free a cs_cdo_bc_list_t structure.
[in] | bcl | pointer to the cs_cdo_bc_list_t structure to free |
cs_cdo_bc_list_t* cs_cdo_bc_vtx_dir_create | ( | const cs_mesh_t * | m, |
const cs_cdo_bc_t * | face_bc | ||
) |
Build cs_cdo_bc_list_t structures for Dirichlet BC on primal vertices. When there is a choice between homogeneous or non homogeneous BCs, we always set the homogeneous condition for Dirichlet BCs.
[in] | m | pointer to a cs_mesh_t structure |
[in] | face_bc | pointer to a cs_cdo_bc_t structure |