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

Access to mesh information. More...

#include <arcane/core/MeshAccessor.h>

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

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().

◆ 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().

◆ 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().

◆ 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().

◆ 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().

◆ 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().

◆ 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().

◆ 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().

◆ 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 nodesCoordinates().

◆ 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 outerFaces().

◆ 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 ownCells().

◆ 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().

◆ 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().

◆ 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().


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