Code_Saturne
CFD tool
fvm_nodal_triangulate.h
Go to the documentation of this file.
1 #ifndef __FVM_NODAL_TRIANGULATE_H__
2 #define __FVM_NODAL_TRIANGULATE_H__
3 
4 /*============================================================================
5  * Triangulation of nodal sections associated with a 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  * 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  * Public function prototypes
47  *============================================================================*/
48 
49 /*----------------------------------------------------------------------------
50  * Triangulate all sections of a nodal mesh.
51  *
52  * parameters:
53  * this_nodal <-> pointer to structure that should be triangulated
54  * error_count --> number of triangulation errors counter (optional)
55  *----------------------------------------------------------------------------*/
56 
57 void
59  cs_lnum_t *error_count);
60 
61 /*----------------------------------------------------------------------------
62  * Triangulate polygonal sections of a nodal mesh.
63  *
64  * parameters:
65  * this_nodal <-> pointer to structure that should be triangulated
66  * error_count --> number of triangulation errors counter (optional)
67  *----------------------------------------------------------------------------*/
68 
69 void
71  cs_lnum_t *error_count);
72 
73 /*----------------------------------------------------------------------------*/
74 
75 #ifdef __cplusplus
76 }
77 #endif /* __cplusplus */
78 
79 #endif /* __FVM_NODAL_TRIANGULATE_H__ */
Definition: fvm_nodal_priv.h:152
void fvm_nodal_triangulate(fvm_nodal_t *this_nodal, cs_lnum_t *error_count)
Definition: fvm_nodal_triangulate.c:510
int cs_lnum_t
Definition: cs_defs.h:260
void fvm_nodal_triangulate_polygons(fvm_nodal_t *this_nodal, cs_lnum_t *error_count)
Definition: fvm_nodal_triangulate.c:581