Code_Saturne
CFD tool
cs_boundary_conditions.h
Go to the documentation of this file.
1 #ifndef __CS_BOUNDARY_CONDITIONS_H__
2 #define __CS_BOUNDARY_CONDITIONS_H__
3 
4 /*============================================================================
5  * Post-processing management
6  *============================================================================*/
7 
8 /*
9  This file is part of Code_Saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2012 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 
30 /*----------------------------------------------------------------------------
31  * Standard C library headers
32  *----------------------------------------------------------------------------*/
33 
34 /*----------------------------------------------------------------------------
35  * BFT library headers
36  *----------------------------------------------------------------------------*/
37 
38 /*----------------------------------------------------------------------------
39  * FVM library headers
40  *----------------------------------------------------------------------------*/
41 
42 #include <fvm_nodal.h>
43 #include <fvm_writer.h>
44 
45 /*----------------------------------------------------------------------------
46  * Local headers
47  *----------------------------------------------------------------------------*/
48 
49 #include "cs_base.h"
50 
51 /*----------------------------------------------------------------------------*/
52 
54 
55 /*============================================================================
56  * Macro definitions
57  *============================================================================*/
58 
59 /*============================================================================
60  * Local type definitions
61  *============================================================================*/
62 
63 /*=============================================================================
64  * Global variables
65  *============================================================================*/
66 
67 /*============================================================================
68  * Public Fortran function prototypes
69  *============================================================================*/
70 
71 /*----------------------------------------------------------------------------
72  * Handling of boundary condition definition errors and associated output.
73  *
74  * For each boundary face, itypfb defines the boundary condition type.
75  * As a convention here, zero values correspond to undefined types,
76  * positive values to defined types (with no error), and negative values
77  * to defined types with inconsistent or incompatible values, the
78  * aboslute value indicationg the original boundary condition type.
79  *
80  * Fortran Interface:
81  *
82  * SUBROUTINE BCDERR (ITYPFB)
83  * *****************
84  *
85  * INTEGER ITYPFB : <-> : Array of BC type ids
86  *----------------------------------------------------------------------------*/
87 
88 void CS_PROCF (bcderr, BCDERR)
89 (
91 );
92 
93 /*============================================================================
94  * Public function prototypes
95  *============================================================================*/
96 
97 /*----------------------------------------------------------------------------
98  * Handling of boundary condition definition errors and associated output.
99  *
100  * For each boundary face, bc_type defines the boundary condition type.
101  * As a convention here, zero values correspond to undefined types,
102  * positive values to defined types (with no error), and negative values
103  * to defined types with inconsistent or incompatible values, the
104  * absolute value indicating the original boundary condition type.
105  *
106  * parameters:
107  * bc_type <-- array of BC type ids
108  *----------------------------------------------------------------------------*/
109 
110 void
111 cs_boundary_conditions_error(const cs_int_t bc_type[]);
112 
113 /*----------------------------------------------------------------------------*/
114 
116 
117 #endif /* __CS_BOUNDARY_CONDITIONS_H__ */
#define BEGIN_C_DECLS
Definition: cs_defs.h:365
void cs_boundary_conditions_error(const cs_int_t bc_type[])
Definition: cs_boundary_conditions.c:290
int cs_int_t
Definition: cs_defs.h:263
integer, dimension(:), allocatable itypfb
Definition: pointe.f90:88
#define END_C_DECLS
Definition: cs_defs.h:366
#define CS_PROCF(x, y)
Definition: cs_defs.h:379
BEGIN_C_DECLS void bcderr(cs_int_t *itypfb)
Definition: cs_boundary_conditions.c:264