Arcane  v3.15.3.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
core/FaceReorienter.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2025 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/* FaceReorienter.h (C) 2000-2025 */
9/* */
10/* Vérifie la bonne orientation d'une face et la réoriente le cas échéant. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_FACEREORIENTER_H
13#define ARCANE_CORE_FACEREORIENTER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/Array.h"
18
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24namespace Arcane
25{
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
35class ARCANE_CORE_EXPORT FaceReorienter
36{
37 public:
38
42 ARCANE_DEPRECATED_260 FaceReorienter(ITraceMng* tm);
44 explicit FaceReorienter(IMesh* mesh);
45
46 public:
47
51 ARCANE_DEPRECATED_260 void checkAndChangeOrientation(ItemInternal* face);
52
56 ARCANE_DEPRECATED_260 void checkAndChangeOrientationAMR(ItemInternal* face);
57
63 void checkAndChangeOrientation(Face face);
64
70 // AMR
71 void checkAndChangeOrientationAMR(Face face);
72
73 private:
74
75 ITraceMng* m_trace_mng = nullptr;
76 IItemFamily* m_face_family = nullptr;
77 UniqueArray<Int64> m_nodes_unique_id;
78 UniqueArray<Int32> m_nodes_local_id;
79 UniqueArray<Integer> m_face_nodes_index;
80};
81
82/*---------------------------------------------------------------------------*/
83/*---------------------------------------------------------------------------*/
84
85} // namespace Arcane::mesh
86
87/*---------------------------------------------------------------------------*/
88/*---------------------------------------------------------------------------*/
89
90#endif
Déclarations de types sur les entités.
Cette fonction/classe réoriente les faces.
Face d'une maille.
Definition Item.h:944
Interface d'une famille d'entités.
Structure interne d'une entité de maillage.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:149
Interface du gestionnaire de traces.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-