1
#ifndef __FVM_NODAL_ORDER_H__
2
#define __FVM_NODAL_ORDER_H__
4
/*============================================================================
5
* Ordering of nodal mesh entity lists and connectivity
6
*============================================================================*/
9
This file is part of Code_Saturne, a general-purpose CFD tool.
11
Copyright (C) 1998-2011 EDF S.A.
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
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
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.
28
/*----------------------------------------------------------------------------*/
30
/*----------------------------------------------------------------------------
32
*----------------------------------------------------------------------------*/
36
/*----------------------------------------------------------------------------*/
41
} /* Fake brace to force back Emacs auto-indentation back to column 0 */
43
#endif /* __cplusplus */
45
/*=============================================================================
47
*============================================================================*/
49
/*============================================================================
51
*============================================================================*/
53
/*=============================================================================
54
* Static global variables
55
*============================================================================*/
57
/*=============================================================================
58
* Public function prototypes
59
*============================================================================*/
61
/*----------------------------------------------------------------------------
62
* Locally order cells and associated connectivity for a nodal mesh
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
*----------------------------------------------------------------------------*/
71
fvm_nodal_order_cells(fvm_nodal_t *this_nodal,
72
const fvm_gnum_t parent_global_number[]);
74
/*----------------------------------------------------------------------------
75
* Locally order faces and associated connectivity for a nodal mesh
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
*----------------------------------------------------------------------------*/
84
fvm_nodal_order_faces(fvm_nodal_t *this_nodal,
85
const fvm_gnum_t parent_global_number[]);
87
/*----------------------------------------------------------------------------
88
* Locally order vertices and update connectivity for a nodal mesh
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
*----------------------------------------------------------------------------*/
97
fvm_nodal_order_vertices(fvm_nodal_t *this_nodal,
98
const fvm_gnum_t parent_global_number[]);
100
/*----------------------------------------------------------------------------*/
104
#endif /* __cplusplus */
106
#endif /* __FVM_NODAL_ORDER_H__ */