programmer's documentation
cs_domain_boundary.h
Go to the documentation of this file.
1 #ifndef __CS_DOMAIN_BOUNDARY_H__
2 #define __CS_DOMAIN_BOUNDARY_H__
3 
4 /*============================================================================
5  * Handle the boundary of a computational domain
6  *============================================================================*/
7 
8 /*
9  This file is part of Code_Saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2018 EDF S.A.
12 
13  This program is free software; you can redistribute it and/or modify it under
14  the terms of the GNU General Public License as published by the Free Software
15  Foundation; either version 2 of the License, or (at your option) any later
16  version.
17 
18  This program is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21  details.
22 
23  You should have received a copy of the GNU General Public License along with
24  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
25  Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 */
27 
28 /*----------------------------------------------------------------------------
29  * Local headers
30  *----------------------------------------------------------------------------*/
31 
32 #include "cs_base.h"
33 #include "cs_defs.h"
34 
35 /*----------------------------------------------------------------------------*/
36 
38 
39 /*============================================================================
40  * Macro definitions
41  *============================================================================*/
42 
43 /* Name of the boundary zone gathering all domain boundary walls */
44 #define CS_DOMAIN_BOUNDARY_WALLS_NAME "cs_domain_boundary_walls"
45 
46 /*============================================================================
47  * Type definitions
48  *============================================================================*/
49 
50 /* Physic-driven boundary */
51 typedef enum {
52 
59 
61 
62 /*============================================================================
63  * Public function prototypes
64  *============================================================================*/
65 
66 /*----------------------------------------------------------------------------*/
74 /*----------------------------------------------------------------------------*/
75 
76 const char *
78 
79 /*----------------------------------------------------------------------------*/
85 /*----------------------------------------------------------------------------*/
86 
87 void
89 
90 /*----------------------------------------------------------------------------*/
96 /*----------------------------------------------------------------------------*/
97 
100 
101 /*----------------------------------------------------------------------------*/
105 /*----------------------------------------------------------------------------*/
106 
107 void
109 
110 /*----------------------------------------------------------------------------*/
117 /*----------------------------------------------------------------------------*/
118 
119 void
121  const char *zone_name);
122 
123 /*----------------------------------------------------------------------------*/
127 /*----------------------------------------------------------------------------*/
128 
129 void
131 
132 /*----------------------------------------------------------------------------*/
136 /*----------------------------------------------------------------------------*/
137 
138 void
140 
141 /*----------------------------------------------------------------------------*/
142 
144 
145 #endif /* __CS_DOMAIN_BOUNDARY_H__ */
Definition: cs_domain_boundary.h:57
void cs_domain_boundary_free(void)
Free all metadate related to the domain boundaries.
Definition: cs_domain_boundary.c:265
Definition: cs_domain_boundary.h:54
Definition: cs_domain_boundary.h:58
#define BEGIN_C_DECLS
Definition: cs_defs.h:462
void cs_domain_boundary_def_wall_zones(void)
Add a new zone gathering all CS_DOMAIN_BOUNDARY_WALL zone type.
Definition: cs_domain_boundary.c:312
cs_domain_boundary_type_t cs_domain_boundary_get_default(void)
Get the default boundary associated to the computational domain.
Definition: cs_domain_boundary.c:253
Definition: cs_domain_boundary.h:55
Definition: cs_domain_boundary.h:56
void cs_domain_boundary_add(cs_domain_boundary_type_t type, const char *zone_name)
Add a new boundary type for a given boundary zone.
Definition: cs_domain_boundary.c:283
const char * cs_domain_boundary_get_name(cs_domain_boundary_type_t type)
Get the name of the domain boundary condition.
Definition: cs_domain_boundary.c:216
#define END_C_DECLS
Definition: cs_defs.h:463
Definition: cs_domain_boundary.h:53
void cs_domain_boundary_log_setup(void)
Summarize the setup of the boundary of the computational domain.
Definition: cs_domain_boundary.c:337
void cs_domain_boundary_set_default(cs_domain_boundary_type_t type)
Set the default boundary related to this domain.
Definition: cs_domain_boundary.c:233
cs_domain_boundary_type_t
Definition: cs_domain_boundary.h:51