Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
src/arcane/cartesianmesh/CartesianMeshRenumberingInfo.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* CartesianMeshRenumberingInfo.h (C) 2000-2024 */
9/* */
10/* Informations pour la renumérotation. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CARTESIANMESH_CARTESIANMESHRENUMBERINGINFO_H
13#define ARCANE_CARTESIANMESH_CARTESIANMESHRENUMBERINGINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18#include "arcane/cartesianmesh/CartesianPatch.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
31class ARCANE_CARTESIANMESH_EXPORT CartesianMeshRenumberingInfo
32{
33 public:
34
53 void setRenumberPatchMethod(Int32 v) { m_renumber_patch_method = v; }
54 Int32 renumberPatchMethod() const { return m_renumber_patch_method; }
55
62 void setRenumberFaceMethod(Int32 v) { m_renumber_faces_method = v; }
63 Int32 renumberFaceMethod() const { return m_renumber_faces_method; }
64
72 void setSortAfterRenumbering(bool v) { m_is_sort = v; }
73 bool isSortAfterRenumbering() const { return m_is_sort; }
74
88 void setParentPatch(CartesianPatch patch) { m_parent_patch = patch; }
89 CartesianPatch parentPatch() const { return m_parent_patch; }
90
91 private:
92
93 Int32 m_renumber_patch_method = 0;
94 Int32 m_renumber_faces_method = 0;
95 CartesianPatch m_parent_patch;
96 bool m_is_sort = false;
97};
98
99/*---------------------------------------------------------------------------*/
100/*---------------------------------------------------------------------------*/
101
102} // End namespace Arcane
103
104/*---------------------------------------------------------------------------*/
105/*---------------------------------------------------------------------------*/
106
107#endif
108
Déclarations des types généraux de Arcane.
void setSortAfterRenumbering(bool v)
Indique si on retrie les entités après renumérotation.
void setRenumberFaceMethod(Int32 v)
Méthode pour renuméroter les faces.
void setParentPatch(CartesianPatch patch)
Numéro du patch parent pour la renumérotation.
void setRenumberPatchMethod(Int32 v)
Méthode pour renuméroter les patchs.
Patch AMR d'un maillage cartésien.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-