Arcane
v3.16.0.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::MeshNodeMerger::mergeNodes
void mergeNodes(Int32ConstArrayView nodes_local_id, Int32ConstArrayView nodes_to_merge_local_id)
Definition
MeshNodeMerger.cc:85
Arcane::TraceAccessor::TraceAccessor
TraceAccessor(ITraceMng *m)
Construit un accesseur via le gestionnaire de trace m.
Definition
TraceAccessor.cc:27
Arcane::mesh
AMR.
Definition
ArcaneTypes.h:566
Arcane::Int32ConstArrayView
ConstArrayView< Int32 > Int32ConstArrayView
Equivalent C d'un tableau à une dimension d'entiers 32 bits.
Definition
UtilsTypes.h:569
arcane
mesh
MeshNodeMerger.h
Généré le Lundi 31 Mars 2025 02:53:12 pour Arcane par
1.13.2