9.2
general documentation
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-2026 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#include "base/cs_defs.h"
31
32/*----------------------------------------------------------------------------
33 * Local headers
34 *----------------------------------------------------------------------------*/
35
36#include "fvm/fvm_defs.h"
37
38/*=============================================================================
39 * Public function prototypes
40 *============================================================================*/
41
42/*----------------------------------------------------------------------------
43 * Triangulate all sections of a nodal mesh.
44 *
45 * parameters:
46 * this_nodal <-> pointer to structure that should be triangulated
47 * error_count --> number of triangulation errors counter (optional)
48 *----------------------------------------------------------------------------*/
49
50void
51fvm_nodal_triangulate(fvm_nodal_t *this_nodal,
52 cs_lnum_t *error_count);
53
54/*----------------------------------------------------------------------------
55 * Triangulate polygonal sections of a nodal mesh.
56 *
57 * parameters:
58 * this_nodal <-> pointer to structure that should be triangulated
59 * error_count --> number of triangulation errors counter (optional)
60 *----------------------------------------------------------------------------*/
61
62void
63fvm_nodal_triangulate_polygons(fvm_nodal_t *this_nodal,
64 cs_lnum_t *error_count);
65
66/*----------------------------------------------------------------------------*/
67
68#endif /* FVM_NODAL_TRIANGULATE_H */
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:325
void fvm_nodal_triangulate(fvm_nodal_t *this_nodal, cs_lnum_t *error_count)
Definition: fvm_nodal_triangulate.cpp:504
void fvm_nodal_triangulate_polygons(fvm_nodal_t *this_nodal, cs_lnum_t *error_count)
Definition: fvm_nodal_triangulate.cpp:575