![]() |
programmer's documentation
|
#include "cs_base.h"
#include "cs_time_step.h"
#include "cs_param.h"
#include "cs_cdo_quantities.h"
#include "cs_xdef.h"
Go to the source code of this file.
Data Structures | |
struct | cs_cdo_bc_list_t |
struct | cs_cdo_bc_t |
Macros | |
#define | CS_CDO_BC_DIRICHLET (1 << 0) |
#define | CS_CDO_BC_HMG_DIRICHLET (1 << 1) |
#define | CS_CDO_BC_NEUMANN (1 << 2) |
#define | CS_CDO_BC_HMG_NEUMANN (1 << 3) |
#define | CS_CDO_BC_ROBIN (1 << 4) |
Functions | |
static cs_flag_t | cs_cdo_bc_get_flag (cs_param_bc_type_t bc_type) |
Convert a cs_param_bc_type_t into a flag (enable multiple type for a same entity as required for vertices and edges) More... | |
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_define (cs_param_bc_type_t default_bc, int n_desc, cs_xdef_t **desc, cs_lnum_t n_b_faces) |
Define the structure which translates the BC definition from the user viewpoint into a ready-to-use structure for setting the arrays keeping the values of the boundary condition to set. 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_t* cs_cdo_bc_define | ( | cs_param_bc_type_t | default_bc, |
int | n_desc, | ||
cs_xdef_t ** | desc, | ||
cs_lnum_t | n_b_faces | ||
) |
Define the structure which translates the BC definition from the user viewpoint into a ready-to-use structure for setting the arrays keeping the values of the boundary condition to set.
[in] | default_bc | type of boundary condition to set by default |
[in] | n_desc | number of boundary definitions |
[in] | desc | list of boundary condition definition |
[in] | n_b_faces | number of border faces |
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 |
|
inlinestatic |
Convert a cs_param_bc_type_t into a flag (enable multiple type for a same entity as required for vertices and edges)
[in] | bc_type | predefined type of boundary condition |
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 |