Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MeshNodeMerger.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 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/* MeshNodeMerger.h (C) 2000-2016 */
9/* */
10/* Fusion de noeuds d'un maillage. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MESH_MESHNODEMERGER_H
13#define ARCANE_MESH_MESHNODEMERGER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/mesh/MeshGlobal.h"
19
20#include <map>
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
25ARCANE_BEGIN_NAMESPACE
26class IMesh;
27ARCANE_MESH_BEGIN_NAMESPACE
28
29/*---------------------------------------------------------------------------*/
30/*---------------------------------------------------------------------------*/
31
32class NodeFamily;
33class EdgeFamily;
34class FaceFamily;
35class CellFamily;
36
37/*---------------------------------------------------------------------------*/
38/*---------------------------------------------------------------------------*/
50: public TraceAccessor
51{
52 public:
53 MeshNodeMerger(IMesh* mesh);
54 void mergeNodes(Int32ConstArrayView nodes_local_id,
56
57 private:
58 IMesh* m_mesh;
59 NodeFamily* m_node_family;
60 EdgeFamily* m_edge_family;
61 FaceFamily* m_face_family;
62 CellFamily* m_cell_family;
63 std::map<Node,Node> m_nodes_correspondance;
64 std::map<Face,Face> m_faces_correspondance;
65};
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
70ARCANE_MESH_END_NAMESPACE
71ARCANE_END_NAMESPACE
72
73/*---------------------------------------------------------------------------*/
74/*---------------------------------------------------------------------------*/
75
76#endif
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Fusion de noeuds d'un maillage.
Vue constante d'un tableau de type T.