Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MeshAccessor.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
/* MeshAccessor.h (C) 2000-2020 */
9
/* */
10
/* Accès aux informations d'un maillage. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_MESHACCESSOR_H
13
#define ARCANE_MESHACCESSOR_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/ItemTypes.h"
18
#include "arcane/VariableTypedef.h"
19
#include "arcane/MeshHandle.h"
20
21
/*---------------------------------------------------------------------------*/
22
/*---------------------------------------------------------------------------*/
23
24
namespace
Arcane
25
{
26
27
/*---------------------------------------------------------------------------*/
28
/*---------------------------------------------------------------------------*/
29
30
class
ISubDomain;
31
class
IMesh;
32
33
/*---------------------------------------------------------------------------*/
34
/*---------------------------------------------------------------------------*/
39
class
ARCANE_CORE_EXPORT
MeshAccessor
40
{
41
public
:
42
43
ARCCORE_DEPRECATED_2020(
"Use constructor with MeshHande"
)
44
MeshAccessor
(
ISubDomain
*
sd
);
45
MeshAccessor
(
IMesh
* mesh);
46
MeshAccessor
(
const
MeshHandle
&
mesh_handle
);
47
48
public
:
49
51
Integer nbCell()
const
;
53
Integer nbFace()
const
;
55
Integer nbEdge()
const
;
57
Integer nbNode()
const
;
58
60
VariableNodeReal3
& nodesCoordinates()
const
;
61
63
NodeGroup
allNodes()
const
;
65
EdgeGroup
allEdges()
const
;
67
FaceGroup
allFaces()
const
;
69
CellGroup
allCells()
const
;
71
FaceGroup
outerFaces()
const
;
79
NodeGroup
ownNodes()
const
;
87
CellGroup
ownCells()
const
;
95
FaceGroup
ownFaces()
const
;
103
EdgeGroup
ownEdges()
const
;
104
105
106
public
:
107
108
inline
IMesh
* mesh()
const
{
return
m_mesh_handle.mesh(); }
109
inline
const
MeshHandle
& meshHandle()
const
{
return
m_mesh_handle; }
110
111
private
:
112
113
MeshHandle
m_mesh_handle;
114
};
115
116
/*---------------------------------------------------------------------------*/
117
/*---------------------------------------------------------------------------*/
118
119
}
// End namespace Arcane
120
121
/*---------------------------------------------------------------------------*/
122
/*---------------------------------------------------------------------------*/
123
124
#endif
Arcane::IMesh
Definition
IMesh.h:59
Arcane::ISubDomain
Interface du gestionnaire d'un sous-domaine.
Definition
ISubDomain.h:74
Arcane::ItemGroupT< Node >
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arcane::MeshAccessor
Accès aux informations d'un maillage.
Definition
MeshAccessor.h:40
Arcane::MeshHandle
Handle sur un maillage.
Definition
MeshHandle.h:47
Arcane::MeshVariableScalarRefT< Node, Real3 >
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AcceleratorGlobal.h:36
arcane
core
MeshAccessor.h
Généré le Lundi 18 Novembre 2024 03:00:31 pour Arcane par
1.9.8