Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::MeshAccessor Class Reference

Access to mesh information. More...

#include <arcane/core/MeshAccessor.h>

Inheritance diagram for Arcane::MeshAccessor:
Collaboration diagram for Arcane::MeshAccessor:

Public Member Functions

 MeshAccessor (ISubDomain *sd)
 MeshAccessor (IMesh *mesh)
 MeshAccessor (const MeshHandle &mesh_handle)
Integer nbCell () const
 Returns the number of cells in the mesh.
Integer nbFace () const
 Returns the number of faces in the mesh.
Integer nbEdge () const
 Returns the number of edges in the mesh.
Integer nbNode () const
 Returns the number of nodes in the mesh.
VariableNodeReal3nodesCoordinates () const
 Returns the coordinates of the mesh nodes.
NodeGroup allNodes () const
 Returns the group containing all nodes.
EdgeGroup allEdges () const
 Returns the group containing all edges.
FaceGroup allFaces () const
 Returns the group containing all faces.
CellGroup allCells () const
 Returns the group containing all cells.
FaceGroup outerFaces () const
 Returns the group containing all boundary faces.
NodeGroup ownNodes () const
 Returns the group containing all nodes specific to this domain.
CellGroup ownCells () const
 Returns the group containing all cells specific to this domain.
FaceGroup ownFaces () const
 Group containing all faces specific to this domain.
EdgeGroup ownEdges () const
 Group containing all edges specific to this domain.
IMeshmesh () const
const MeshHandlemeshHandle () const

Private Attributes

MeshHandle m_mesh_handle

Detailed Description

Access to mesh information.

Definition at line 40 of file MeshAccessor.h.

Constructor & Destructor Documentation

◆ MeshAccessor() [1/3]

Arcane::MeshAccessor::MeshAccessor ( ISubDomain * sd)

Definition at line 31 of file MeshAccessor.cc.

◆ MeshAccessor() [2/3]

Arcane::MeshAccessor::MeshAccessor ( IMesh * mesh)

Definition at line 40 of file MeshAccessor.cc.

◆ MeshAccessor() [3/3]

Arcane::MeshAccessor::MeshAccessor ( const MeshHandle & mesh_handle)

Definition at line 48 of file MeshAccessor.cc.

Member Function Documentation

◆ allCells()

CellGroup Arcane::MeshAccessor::allCells ( ) const

Returns the group containing all cells.

Definition at line 86 of file MeshAccessor.cc.

References allCells().

Referenced by allCells(), and ArcaneTest::AlephTestModule::init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ allEdges()

EdgeGroup Arcane::MeshAccessor::allEdges ( ) const

Returns the group containing all edges.

Definition at line 78 of file MeshAccessor.cc.

References allEdges().

Referenced by allEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ allFaces()

FaceGroup Arcane::MeshAccessor::allFaces ( ) const

Returns the group containing all faces.

Definition at line 82 of file MeshAccessor.cc.

References allFaces().

Referenced by allFaces(), and ArcaneTest::AlephTestModule::init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ allNodes()

NodeGroup Arcane::MeshAccessor::allNodes ( ) const

Returns the group containing all nodes.

Definition at line 74 of file MeshAccessor.cc.

References allNodes().

Referenced by allNodes().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mesh()

IMesh * Arcane::MeshAccessor::mesh ( ) const
inline

Definition at line 104 of file MeshAccessor.h.

◆ meshHandle()

const MeshHandle & Arcane::MeshAccessor::meshHandle ( ) const
inline

Definition at line 105 of file MeshAccessor.h.

◆ nbCell()

Integer Arcane::MeshAccessor::nbCell ( ) const

Returns the number of cells in the mesh.

Definition at line 54 of file MeshAccessor.cc.

References nbCell().

Referenced by nbCell().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nbEdge()

Integer Arcane::MeshAccessor::nbEdge ( ) const

Returns the number of edges in the mesh.

Definition at line 62 of file MeshAccessor.cc.

References nbEdge().

Referenced by nbEdge().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nbFace()

Integer Arcane::MeshAccessor::nbFace ( ) const

Returns the number of faces in the mesh.

Definition at line 58 of file MeshAccessor.cc.

References nbFace().

Referenced by nbFace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nbNode()

Integer Arcane::MeshAccessor::nbNode ( ) const

Returns the number of nodes in the mesh.

Definition at line 66 of file MeshAccessor.cc.

References nbNode().

Referenced by nbNode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nodesCoordinates()

VariableNodeReal3 & Arcane::MeshAccessor::nodesCoordinates ( ) const

Returns the coordinates of the mesh nodes.

Definition at line 70 of file MeshAccessor.cc.

References nodesCoordinates().

Referenced by Arcane::Numerics::Euclidian3GeometryService::init(), and nodesCoordinates().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ outerFaces()

FaceGroup Arcane::MeshAccessor::outerFaces ( ) const

Returns the group containing all boundary faces.

Definition at line 90 of file MeshAccessor.cc.

References outerFaces().

Referenced by ArcaneTest::AlephMultiTest::init(), and outerFaces().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ownCells()

CellGroup Arcane::MeshAccessor::ownCells ( ) const

Returns the group containing all cells specific to this domain.

In sequential mode, this is allCells(). In parallel mode, it is all cells that are not ghost cells. The set of ownCells() groups from all sub-domains forms a partition of the global mesh.

Definition at line 98 of file MeshAccessor.cc.

References ownCells().

Referenced by ArcaneTest::AlephIndexTest::init(), and ownCells().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ownEdges()

EdgeGroup Arcane::MeshAccessor::ownEdges ( ) const

Group containing all edges specific to this domain.

In sequential mode, this is allEdges(). In parallel mode, it is all edges that are not ghost edges. The set of ownEdges() groups from all sub-domains forms a partition of the global mesh.

Definition at line 106 of file MeshAccessor.cc.

References ownEdges().

Referenced by ownEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ownFaces()

FaceGroup Arcane::MeshAccessor::ownFaces ( ) const

Group containing all faces specific to this domain.

In sequential mode, this is allFaces(). In parallel mode, it is all faces that are not ghost faces. The set of ownFaces() groups from all sub-domains forms a partition of the global mesh.

Definition at line 102 of file MeshAccessor.cc.

References ownFaces().

Referenced by ownFaces().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ownNodes()

NodeGroup Arcane::MeshAccessor::ownNodes ( ) const

Returns the group containing all nodes specific to this domain.

In sequential mode, this is allNodes(). In parallel mode, it is all nodes that are not ghost nodes. The set of ownNodes() groups from all sub-domains forms a partition of the global mesh.

Definition at line 94 of file MeshAccessor.cc.

References ownNodes().

Referenced by ownNodes().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_mesh_handle

MeshHandle Arcane::MeshAccessor::m_mesh_handle
private

Definition at line 109 of file MeshAccessor.h.


The documentation for this class was generated from the following files: