|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_BOUNDARY_H__
2 #define __CS_BOUNDARY_H__
44 #define CS_BOUNDARY_WALLS_NAME "cs_boundary_walls"
191 const char *zone_name);
cs_boundary_type_t
Definition: cs_boundary.h:51
void cs_boundary_free(cs_boundary_t **p_boundaries)
Free all metadate related to the domain boundaries.
Definition: cs_boundary.c:359
void cs_boundary_set_default(cs_boundary_t *boundaries, cs_boundary_type_t type)
Set the default boundary related to the given cs_boundary_t structure.
Definition: cs_boundary.c:310
cs_boundary_t * cs_boundary_create(cs_boundary_type_t type)
Create a default boundary structure for the computational domain.
Definition: cs_boundary.c:336
Definition: cs_boundary.h:55
Definition: cs_boundary.h:56
int * zone_ids
Definition: cs_boundary.h:83
const char * cs_boundary_get_name(cs_boundary_type_t type)
Get the name of the domain boundary condition.
Definition: cs_boundary.c:239
Structure storing information related to the "physical" boundaries that one want to set on the comput...
Definition: cs_boundary.h:77
#define END_C_DECLS
Definition: cs_defs.h:468
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
Definition: cs_boundary.h:57
void cs_boundary_def_wall_zones(cs_boundary_t *boundaries)
Add a new zone gathering all CS_BOUNDARY_WALL zone type.
Definition: cs_boundary.c:452
Definition: cs_boundary.h:65
Definition: cs_boundary.h:61
Definition: cs_boundary.h:62
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
Definition: cs_boundary.h:64
Definition: cs_boundary.h:69
Definition: cs_boundary.h:63
cs_boundary_type_t * types
Definition: cs_boundary.h:82
int n_boundaries
Definition: cs_boundary.h:81
void cs_boundary_add(cs_boundary_t *bdy, cs_boundary_type_t type, const char *zone_name)
Add a new boundary type for a given boundary zone.
Definition: cs_boundary.c:383
Definition: cs_boundary.h:67
Definition: cs_boundary.h:54
void cs_boundary_build_type_array(const cs_boundary_t *boundaries, cs_lnum_t n_b_faces, cs_boundary_type_t *bf_type)
Build an array on boundary faces which specify the type of boundary for each face.
Definition: cs_boundary.c:422
cs_boundary_t * cs_glob_boundaries
void cs_boundary_log_setup(const cs_boundary_t *bdy)
Summarize the setup of the boundary of the computational domain.
Definition: cs_boundary.c:481
Definition: cs_boundary.h:66
Definition: cs_boundary.h:58
int cs_boundary_id_by_zone_id(const cs_boundary_t *boundaries, int z_id)
Retrieve the related id associated to a boundary from its zone id.
Definition: cs_boundary.c:284
cs_boundary_type_t default_type
Definition: cs_boundary.h:79
Definition: cs_boundary.h:53
void const cs_int_t * type
Definition: cs_measures_util.h:425
bool cs_boundary_has_pressure_boundary(const cs_boundary_t *boundaries)
Check if there is a pressure-related boundary among the prescribed bounadries.
Definition: cs_boundary.c:259