Code_Saturne
CFD tool
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
cs_mesh_thinwall.h
Go to the documentation of this file.
1 #ifndef __CS_MESH_THINWALL_H__
2 #define __CS_MESH_THINWALL_H__
3 
4 /*============================================================================
5  * Insert thin walls into the mesh.
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  * FVM library headers
32  *----------------------------------------------------------------------------*/
33 
34 #include "fvm_defs.h"
35 
36 /*----------------------------------------------------------------------------
37  * Local headers
38  *----------------------------------------------------------------------------*/
39 
40 #include "cs_mesh.h"
41 
42 /*----------------------------------------------------------------------------*/
43 
45 
46 /*=============================================================================
47  * Macro definitions
48  *============================================================================*/
49 
50 /*============================================================================
51  * Type definitions
52  *============================================================================*/
53 
54 /*============================================================================
55  * Public function prototypes
56  *============================================================================*/
57 
58 /*----------------------------------------------------------------------------
59  * Insert thin walls into the mesh.
60  *
61  * This is done by transforming interior faces into boundary faces.
62  *
63  * Note that the list of selected faces is sorted by this function.
64  *
65  * parameters:
66  * mesh <-> pointer to mesh structure to modify
67  * face_list <-> list of selected (interior) faces (1 to n)
68  * face_list_size <-> number of selected (interior) faces
69  *----------------------------------------------------------------------------*/
70 
71 void
73  cs_lnum_t *face_list,
74  int face_list_size);
75 
76 /*----------------------------------------------------------------------------*/
77 
79 
80 #endif /* __CS_MESH_THINWALL_H__ */
#define BEGIN_C_DECLS
Definition: cs_defs.h:365
Definition: cs_mesh.h:62
Definition: mesh.f90:25
int cs_lnum_t
Definition: cs_defs.h:260
BEGIN_C_DECLS void cs_create_thinwall(cs_mesh_t *mesh, cs_lnum_t *face_list, int face_list_size)
Definition: cs_mesh_thinwall.c:450
#define END_C_DECLS
Definition: cs_defs.h:366