|
programmer's documentation
|
#include "cs_defs.h"#include <errno.h>#include <locale.h>#include <assert.h>#include "bft_mem.h"#include "cs_boundary_zone.h"#include "cs_mesh_location.h"#include "cs_cdo_bc.h"
Functions | |
| static cs_cdo_bc_t * | _cdo_bc_create (cs_lnum_t n_elts) |
| Create a cs_cdo_bc_t structure. More... | |
| static void | _add_def_to_bc (const short int def_id, const cs_lnum_t n_faces, const cs_lnum_t *elt_ids, cs_lnum_t shift, short int *bc_defs, cs_lnum_t *bc_list) |
| Update the cs_cdo_bc_t structure with elements associated to the definition of id def_id. 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... | |
|
inlinestatic |
Update the cs_cdo_bc_t structure with elements associated to the definition of id def_id.
| [in] | def_id | id of the definition to add |
| [in] | n_faces | number of border faces to specify |
| [in] | elt_ids | list of border faces related to this def. (or NULL) |
| [in] | shift | shift to apply before adding new entries |
| [in,out] | bc_defs | pointer to the list of definitions |
| [in,out] | bc_list | pointer to the list dedicated to a specific type of boundary condition |
|
static |
Create a cs_cdo_bc_t structure.
| [in] | n_elts | number of elements |
| 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 |
| 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 |
1.8.13