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

Class containing mesh information. More...

#include <arcane/mesh/MeshInfos.h>

Collaboration diagram for Arcane::mesh::MeshInfos:

Public Member Functions

 MeshInfos (const Integer rank)
virtual ~MeshInfos ()
Int32 rank () const
 Number of this subdomain.
IntegernbNode ()
 Number of nodes in the mesh.
Integer getNbNode () const
IntegernbEdge ()
 Number of edges in the mesh.
Integer getNbEdge () const
IntegernbFace ()
 Number of faces in the mesh.
Integer getNbFace () const
IntegernbCell ()
 Number of cells in the mesh.
Integer getNbCell () const
void reset ()
 Resets the numbering.

Private Attributes

Int32 m_mesh_rank
 Number of this subdomain.
Integer m_mesh_nb_node
 Number of nodes in the mesh.
Integer m_mesh_nb_edge
 Number of edges in the mesh.
Integer m_mesh_nb_face
 Number of faces in the mesh.
Integer m_mesh_nb_cell
 Number of cells in the mesh.

Detailed Description

Class containing mesh information.

Warning: This class does not provide information about the constructed mesh (use IMesh). It is simply a container used during the mesh construction phase.

Definition at line 35 of file MeshInfos.h.

Constructor & Destructor Documentation

◆ MeshInfos()

Arcane::mesh::MeshInfos::MeshInfos ( const Integer rank)
inline

Class constructor

Definition at line 40 of file MeshInfos.h.

References m_mesh_nb_cell, m_mesh_nb_edge, m_mesh_nb_face, m_mesh_nb_node, m_mesh_rank, and rank().

Here is the call graph for this function:

◆ ~MeshInfos()

virtual Arcane::mesh::MeshInfos::~MeshInfos ( )
inlinevirtual

Class destructor

Definition at line 49 of file MeshInfos.h.

Member Function Documentation

◆ getNbCell()

Integer Arcane::mesh::MeshInfos::getNbCell ( ) const
inline

Definition at line 70 of file MeshInfos.h.

◆ getNbEdge()

Integer Arcane::mesh::MeshInfos::getNbEdge ( ) const
inline

Definition at line 62 of file MeshInfos.h.

◆ getNbFace()

Integer Arcane::mesh::MeshInfos::getNbFace ( ) const
inline

Definition at line 66 of file MeshInfos.h.

◆ getNbNode()

Integer Arcane::mesh::MeshInfos::getNbNode ( ) const
inline

Definition at line 58 of file MeshInfos.h.

◆ nbCell()

Integer & Arcane::mesh::MeshInfos::nbCell ( )
inline

Number of cells in the mesh.

Definition at line 69 of file MeshInfos.h.

References m_mesh_nb_cell.

Referenced by Arcane::mesh::CellFamily::allocOne().

Here is the caller graph for this function:

◆ nbEdge()

Integer & Arcane::mesh::MeshInfos::nbEdge ( )
inline

Number of edges in the mesh.

Definition at line 61 of file MeshInfos.h.

References m_mesh_nb_edge.

Referenced by Arcane::mesh::EdgeFamily::allocOne(), and Arcane::mesh::EdgeFamily::findOrAllocOne().

Here is the caller graph for this function:

◆ nbFace()

Integer & Arcane::mesh::MeshInfos::nbFace ( )
inline

Number of faces in the mesh.

Definition at line 65 of file MeshInfos.h.

References m_mesh_nb_face.

Referenced by Arcane::mesh::FaceFamily::allocOne(), and Arcane::mesh::FaceFamily::findOrAllocOne().

Here is the caller graph for this function:

◆ nbNode()

Integer & Arcane::mesh::MeshInfos::nbNode ( )
inline

Number of nodes in the mesh.

Definition at line 57 of file MeshInfos.h.

References m_mesh_nb_node.

Referenced by Arcane::mesh::NodeFamily::allocOne().

Here is the caller graph for this function:

◆ rank()

Int32 Arcane::mesh::MeshInfos::rank ( ) const
inline

Number of this subdomain.

Definition at line 54 of file MeshInfos.h.

References m_mesh_rank.

Referenced by MeshInfos().

Here is the caller graph for this function:

◆ reset()

void Arcane::mesh::MeshInfos::reset ( )
inline

Resets the numbering.

Definition at line 73 of file MeshInfos.h.

References m_mesh_nb_cell, m_mesh_nb_edge, m_mesh_nb_face, and m_mesh_nb_node.

Member Data Documentation

◆ m_mesh_nb_cell

Integer Arcane::mesh::MeshInfos::m_mesh_nb_cell
private

Number of cells in the mesh.

Definition at line 87 of file MeshInfos.h.

Referenced by MeshInfos(), nbCell(), and reset().

◆ m_mesh_nb_edge

Integer Arcane::mesh::MeshInfos::m_mesh_nb_edge
private

Number of edges in the mesh.

Definition at line 85 of file MeshInfos.h.

Referenced by MeshInfos(), nbEdge(), and reset().

◆ m_mesh_nb_face

Integer Arcane::mesh::MeshInfos::m_mesh_nb_face
private

Number of faces in the mesh.

Definition at line 86 of file MeshInfos.h.

Referenced by MeshInfos(), nbFace(), and reset().

◆ m_mesh_nb_node

Integer Arcane::mesh::MeshInfos::m_mesh_nb_node
private

Number of nodes in the mesh.

Definition at line 84 of file MeshInfos.h.

Referenced by MeshInfos(), nbNode(), and reset().

◆ m_mesh_rank

Int32 Arcane::mesh::MeshInfos::m_mesh_rank
private

Number of this subdomain.

Definition at line 83 of file MeshInfos.h.

Referenced by MeshInfos(), and rank().


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