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
25
ARCANE_BEGIN_NAMESPACE
26
class
IMesh;
27
ARCANE_MESH_BEGIN_NAMESPACE
28
29
/*---------------------------------------------------------------------------*/
30
/*---------------------------------------------------------------------------*/
31
32
class
NodeFamily;
33
class
EdgeFamily;
34
class
FaceFamily;
35
class
CellFamily;
36
37
/*---------------------------------------------------------------------------*/
38
/*---------------------------------------------------------------------------*/
49
class
MeshNodeMerger
50
:
public
TraceAccessor
51
{
52
public
:
53
MeshNodeMerger
(
IMesh
* mesh);
54
void
mergeNodes(
Int32ConstArrayView
nodes_local_id
,
55
Int32ConstArrayView
nodes_to_merge_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
70
ARCANE_MESH_END_NAMESPACE
71
ARCANE_END_NAMESPACE
72
73
/*---------------------------------------------------------------------------*/
74
/*---------------------------------------------------------------------------*/
75
76
#endif
Arcane::IMesh
Definition
IMesh.h:59
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arcane::MeshNodeMerger
Fusion de noeuds d'un maillage.
Definition
MeshNodeMerger.h:51
Arccore::ConstArrayView
Vue constante d'un tableau de type T.
Definition
arccore/src/base/arccore/base/ArrayView.h:533
Arccore::TraceAccessor
Classe d'accès aux traces.
Definition
arccore/src/trace/arccore/trace/TraceAccessor.h:39
arcane
mesh
MeshNodeMerger.h
Généré le Lundi 18 Novembre 2024 03:01:40 pour Arcane par
1.9.8