~ubuntu-branches/ubuntu/precise/code-saturne/precise

« back to all changes in this revision

Viewing changes to src/fvm/fvm_nodal_order.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2011-11-24 00:00:08 UTC
  • mfrom: (6.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20111124000008-2vo99e38267942q5
Tags: 2.1.0-3
Install a missing file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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-2011 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
 
71
fvm_nodal_order_cells(fvm_nodal_t       *this_nodal,
 
72
                      const fvm_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
 
84
fvm_nodal_order_faces(fvm_nodal_t       *this_nodal,
 
85
                      const fvm_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
 
97
fvm_nodal_order_vertices(fvm_nodal_t       *this_nodal,
 
98
                         const fvm_gnum_t   parent_global_number[]);
 
99
 
 
100
/*----------------------------------------------------------------------------*/
 
101
 
 
102
#ifdef __cplusplus
 
103
}
 
104
#endif /* __cplusplus */
 
105
 
 
106
#endif /* __FVM_NODAL_ORDER_H__ */