7.2
general documentation
cs_mesh_from_builder.h
Go to the documentation of this file.
1 #ifndef __CS_MESH_FROM_BUILDER_H__
2 #define __CS_MESH_FROM_BUILDER_H__
3 
4 /*============================================================================
5  * Define cs_mesh_t fields from cs_mesh_builder_t fields.
6  *============================================================================*/
7 
8 /*
9  This file is part of code_saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2022 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  * Local headers
32  *----------------------------------------------------------------------------*/
33 
34 #include "cs_defs.h"
35 
36 #include "fvm_group.h"
37 #include "fvm_selector.h"
38 #include "fvm_periodicity.h"
39 
40 #include "cs_base.h"
41 
42 #include "cs_mesh.h"
43 #include "cs_mesh_builder.h"
44 
45 /*----------------------------------------------------------------------------*/
46 
48 
49 /*=============================================================================
50  * Macro definitions
51  *============================================================================*/
52 
53 /*============================================================================
54  * Type definitions
55  *============================================================================*/
56 
57 /*============================================================================
58  * Static global variables
59  *============================================================================*/
60 
61 /*=============================================================================
62  * Public function prototypes
63  *============================================================================*/
64 
65 /*----------------------------------------------------------------------------
66  * Transfer mesh builder to mesh structure.
67  *
68  * parameters:
69  * mesh <-- pointer to mesh structure
70  * mesh_builder <-- pointer to mesh builder structure
71  *----------------------------------------------------------------------------*/
72 
73 void
75  cs_mesh_builder_t *mesh_builder);
76 
77 /*----------------------------------------------------------------------------*/
78 
80 
81 #endif /* __CS_MESH_FROM_BUILDER_H__ */
Definition: cs_mesh_builder.h:57
void cs_mesh_from_builder(cs_mesh_t *mesh, cs_mesh_builder_t *mesh_builder)
Transfer mesh builder to mesh structure.
Definition: cs_mesh_from_builder.c:1556
#define BEGIN_C_DECLS
Definition: cs_defs.h:510
Definition: cs_mesh.h:84
#define END_C_DECLS
Definition: cs_defs.h:511
Definition: mesh.f90:26