9.2
general documentation
cs_renumber_update.h
Go to the documentation of this file.
1#ifndef CS_RENUMBER_UPDATE_H
2#define CS_RENUMBER_UPDATE_H
3
4/*============================================================================
5 * Repartitioning and redistribution mesh data and fields.
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/*============================================================================
31 * Type definitions
32 *============================================================================*/
33
34/*=============================================================================
35 * Static global variables
36 *============================================================================*/
37
38/*============================================================================
39 * Public function definitions
40 *============================================================================*/
41
42/*----------------------------------------------------------------------------*/
43/*
44 * \brief Renumber fields and bc_coeffs based on new-to-old element map.
45 *
46 * \param[in] cell_n2o cells new-to-old mapping
47 * \param[in] i_face_n2o internal faces new-to-old mapping
48 * \param[in] b_face_n2o boundary faces new-to-old mapping
49 * \param[in] vtx_n2o vertices new-to-old mapping
50 */
51/*----------------------------------------------------------------------------*/
52
53void
55 const cs_lnum_t i_face_n2o[],
56 const cs_lnum_t b_face_n2o[],
57 const cs_lnum_t vtx_n2o[]);
58
59/*----------------------------------------------------------------------------*/
60/*
61 * \brief Renumber bc_types based on new-to-old element map.
62 *
63 * \param[in] b_face_n2o boundary faces new-to-old mapping
64 */
65/*----------------------------------------------------------------------------*/
66
67void
68cs_renumber_update_bc_types(const cs_lnum_t b_face_n2o[]);
69
70
71/*----------------------------------------------------------------------------*/
72/*
73 * \brief Renumber mesh and update all associated data.
74 */
75/*----------------------------------------------------------------------------*/
76
77void
79
80/*----------------------------------------------------------------------------*/
81/*
82 * \brief Update some mesh structures.
83 *
84 * This function regroups all the data that needs to be updated after some
85 * mesh operations, such as renumbering or redistribution.
86 *
87 * \param[in] mesh pointer to mesh
88 */
89/*----------------------------------------------------------------------------*/
90
91void
93
94
95/*----------------------------------------------------------------------------*/
96
97#endif /* CS_RENUMBER_UPDATE_H */
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:325
void cs_renumber_update(void)
Renumber mesh and update all associated data.
Definition: cs_renumber_update.cpp:319
void cs_renumber_update_bc_types(const cs_lnum_t b_face_n2o[])
Renumber bc_types based on new-to-old element map.
Definition: cs_renumber_update.cpp:149
void cs_mesh_update_partial(void)
Update some mesh structures.
Definition: cs_renumber_update.cpp:361
void cs_renumber_update_fields(const cs_lnum_t cell_n2o[], const cs_lnum_t i_face_n2o[], const cs_lnum_t b_face_n2o[], const cs_lnum_t vtx_n2o[])
Renumber fields and bc_coeffs based on new-to-old element map.
Definition: cs_renumber_update.cpp:179