Code_Saturne
CFD tool
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
fvm_nodal_order.h
Go to the documentation of this file.
1 #ifndef __FVM_NODAL_ORDER_H__
2 #define __FVM_NODAL_ORDER_H__
3 
4 /*============================================================================
5  * Ordering of nodal mesh entity lists and connectivity
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  * Local headers
32  *----------------------------------------------------------------------------*/
33 
34 #include "fvm_defs.h"
35 
36 /*----------------------------------------------------------------------------*/
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #if 0
41 } /* Fake brace to force back Emacs auto-indentation back to column 0 */
42 #endif
43 #endif /* __cplusplus */
44 
45 /*=============================================================================
46  * Macro definitions
47  *============================================================================*/
48 
49 /*============================================================================
50  * Type definitions
51  *============================================================================*/
52 
53 /*=============================================================================
54  * Static global variables
55  *============================================================================*/
56 
57 /*=============================================================================
58  * Public function prototypes
59  *============================================================================*/
60 
61 /*----------------------------------------------------------------------------
62  * Locally order cells and associated connectivity for a nodal mesh
63  *
64  * parameters:
65  * this_nodal <-- pointer to nodal mesh structure.
66  * parent_global_number <-- global numbers of parent cells (if NULL, a
67  * default 1 to n numbering is considered).
68  *----------------------------------------------------------------------------*/
69 
70 void
72  const cs_gnum_t parent_global_number[]);
73 
74 /*----------------------------------------------------------------------------
75  * Locally order faces and associated connectivity for a nodal mesh
76  *
77  * parameters:
78  * this_nodal <-- pointer to nodal mesh structure.
79  * parent_global_number <-- global numbers of parent faces (if NULL, a
80  * default 1 to n numbering is considered).
81  *----------------------------------------------------------------------------*/
82 
83 void
85  const cs_gnum_t parent_global_number[]);
86 
87 /*----------------------------------------------------------------------------
88  * Locally order vertices and update connectivity for a nodal mesh
89  *
90  * parameters:
91  * this_nodal <-- pointer to nodal mesh structure.
92  * parent_global_number <-- global numbers of parent vertices (if NULL, a
93  * default 1 to n numbering is considered).
94  *----------------------------------------------------------------------------*/
95 
96 void
98  const cs_gnum_t parent_global_number[]);
99 
100 /*----------------------------------------------------------------------------*/
101 
102 #ifdef __cplusplus
103 }
104 #endif /* __cplusplus */
105 
106 #endif /* __FVM_NODAL_ORDER_H__ */
void fvm_nodal_order_faces(fvm_nodal_t *this_nodal, const cs_gnum_t parent_global_number[])
Definition: fvm_nodal_order.c:316
Definition: fvm_nodal_priv.h:152
unsigned cs_gnum_t
Definition: cs_defs.h:255
void fvm_nodal_order_cells(fvm_nodal_t *this_nodal, const cs_gnum_t parent_global_number[])
Definition: fvm_nodal_order.c:248
void fvm_nodal_order_vertices(fvm_nodal_t *this_nodal, const cs_gnum_t parent_global_number[])
Definition: fvm_nodal_order.c:384