9.0
general documentation
Loading...
Searching...
No Matches
cs_cdo_bc.cpp File Reference
#include "base/cs_defs.h"
#include <errno.h>
#include <locale.h>
#include <assert.h>
#include "bft/bft_mem.h"
#include "base/cs_array.h"
#include "base/cs_boundary_zone.h"
#include "mesh/cs_mesh_location.h"
#include "cdo/cs_cdo_bc.h"
Include dependency graph for cs_cdo_bc.cpp:

Functions

static cs_cdo_bc_face_t_cdo_bc_face_create (bool is_steady, cs_lnum_t n_b_faces)
 Create a cs_cdo_bc_face_t structure.
cs_cdo_bc_face_tcs_cdo_bc_face_define (cs_param_bc_type_t default_bc, bool is_steady, int dim, int n_defs, cs_xdef_t **defs, cs_lnum_t n_b_faces)
 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.
cs_cdo_bc_face_tcs_cdo_bc_free (cs_cdo_bc_face_t *face_bc)
 Free a cs_cdo_bc_face_t structure.

Function Documentation

◆ _cdo_bc_face_create()

cs_cdo_bc_face_t * _cdo_bc_face_create ( bool is_steady,
cs_lnum_t n_b_faces )
static

Create a cs_cdo_bc_face_t structure.

Parameters
[in]is_steadytrue or false
[in]n_b_facesnumber of boundary faces
Returns
a new allocated pointer to a cs_cdo_bc_face_t structure

◆ cs_cdo_bc_face_define()

cs_cdo_bc_face_t * cs_cdo_bc_face_define ( cs_param_bc_type_t default_bc,
bool is_steady,
int dim,
int n_defs,
cs_xdef_t ** defs,
cs_lnum_t n_b_faces )

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_bctype of boundary condition to set by default
[in]is_steadymodification or not of the BC selection in time
[in]dimdimension of the related equation
[in]n_defsnumber of boundary definitions
[in]defslist of boundary condition definition
[in]n_b_facesnumber of border faces
Returns
a pointer to a new allocated cs_cdo_bc_face_t structure

◆ cs_cdo_bc_free()

cs_cdo_bc_face_t * cs_cdo_bc_free ( cs_cdo_bc_face_t * face_bc)

Free a cs_cdo_bc_face_t structure.

Parameters
[in,out]face_bcpointer to a cs_cdo_bc_face_t structure
Returns
a null pointer