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

Mesh area. More...

#include <arcane/core/MeshArea.h>

Public Member Functions

 MeshArea (IMesh *mesh)
ISubDomainsubDomain () override
 Associated sub-domain.
ITraceMngtraceMng () override
 Associated trace manager.
IMeshmesh () override
 Mesh to which the area belongs.
Integer nbNode () override
 Number of mesh nodes.
virtual Integer nbEdge ()
 Number of mesh edges.
virtual Integer nbFace ()
 Number of mesh faces.
Integer nbCell () override
 Number of mesh cells.
virtual Integer nbItem (eItemKind ik)
 Number of elements of type ik.
NodeGroup allNodes () override
 Group of all nodes.
virtual EdgeGroup allEdges ()
 Group of all edges.
virtual FaceGroup allFaces ()
 Group of all faces.
CellGroup allCells () override
 Group of all cells.
virtual ItemGroup allItems (eItemKind item_kind)
 Group of all entities of type item_kind.
NodeGroup ownNodes () override
 Group of all nodes belonging to the domain.
virtual EdgeGroup ownEdges ()
 Group of all edges belonging to the domain.
virtual FaceGroup ownFaces ()
 Group of all faces belonging to the domain.
virtual CellGroup ownCells () override
 Group of all cells belonging to the domain.
virtual ItemGroup ownItems (eItemKind item_kind)
 Group of all entities belonging to the sub-domain of type item_kind.
void setArea (const NodeGroup &nodes, const CellGroup &cells)
Public Member Functions inherited from Arcane::IMeshArea
virtual ~IMeshArea ()=default
 Releases resources.

Protected Attributes

IMeshm_mesh = nullptr
ISubDomainm_sub_domain = nullptr
ITraceMngm_trace_mng = nullptr
NodeGroup m_all_nodes
EdgeGroup m_all_edges
FaceGroup m_all_faces
CellGroup m_all_cells

Detailed Description

Mesh area.

Definition at line 32 of file MeshArea.h.

Constructor & Destructor Documentation

◆ MeshArea()

Arcane::MeshArea::MeshArea ( IMesh * mesh)
explicit

Definition at line 31 of file MeshArea.cc.

◆ ~MeshArea()

Arcane::MeshArea::~MeshArea ( )
override

Definition at line 42 of file MeshArea.cc.

Member Function Documentation

◆ allCells()

CellGroup Arcane::MeshArea::allCells ( )
overridevirtual

Group of all cells.

Implements Arcane::IMeshArea.

Definition at line 137 of file MeshArea.cc.

References allCells().

Referenced by allCells(), and allItems().

◆ allEdges()

EdgeGroup Arcane::MeshArea::allEdges ( )
virtual

Group of all edges.

Definition at line 129 of file MeshArea.cc.

References allEdges().

Referenced by allEdges(), and allItems().

◆ allFaces()

FaceGroup Arcane::MeshArea::allFaces ( )
virtual

Group of all faces.

Definition at line 133 of file MeshArea.cc.

References allFaces().

Referenced by allFaces(), and allItems().

◆ allItems()

ItemGroup Arcane::MeshArea::allItems ( eItemKind item_kind)
virtual

Group of all entities of type item_kind.

Definition at line 141 of file MeshArea.cc.

References allCells(), allEdges(), allFaces(), allItems(), allNodes(), Arcane::IK_Cell, Arcane::IK_DoF, Arcane::IK_Edge, Arcane::IK_Face, Arcane::IK_Node, Arcane::IK_Particle, and Arcane::IK_Unknown.

Referenced by allItems().

◆ allNodes()

NodeGroup Arcane::MeshArea::allNodes ( )
overridevirtual

Group of all nodes.

Implements Arcane::IMeshArea.

Definition at line 125 of file MeshArea.cc.

References allNodes().

Referenced by allItems(), and allNodes().

◆ mesh()

IMesh * Arcane::MeshArea::mesh ( )
overridevirtual

Mesh to which the area belongs.

Implements Arcane::IMeshArea.

Definition at line 68 of file MeshArea.cc.

◆ nbCell()

Integer Arcane::MeshArea::nbCell ( )
overridevirtual

Number of mesh cells.

Implements Arcane::IMeshArea.

Definition at line 99 of file MeshArea.cc.

References nbCell().

Referenced by nbCell(), and nbItem().

◆ nbEdge()

Integer Arcane::MeshArea::nbEdge ( )
virtual

Number of mesh edges.

Definition at line 91 of file MeshArea.cc.

References nbEdge().

Referenced by nbEdge(), and nbItem().

◆ nbFace()

Integer Arcane::MeshArea::nbFace ( )
virtual

Number of mesh faces.

Definition at line 95 of file MeshArea.cc.

References nbFace().

Referenced by nbFace(), and nbItem().

◆ nbItem()

Integer Arcane::MeshArea::nbItem ( eItemKind ik)
virtual

Number of elements of type ik.

Definition at line 103 of file MeshArea.cc.

References Arcane::IK_Cell, Arcane::IK_DoF, Arcane::IK_Edge, Arcane::IK_Face, Arcane::IK_Node, Arcane::IK_Particle, Arcane::IK_Unknown, nbCell(), nbEdge(), nbFace(), nbItem(), and nbNode().

Referenced by nbItem().

◆ nbNode()

Integer Arcane::MeshArea::nbNode ( )
overridevirtual

Number of mesh nodes.

Implements Arcane::IMeshArea.

Definition at line 87 of file MeshArea.cc.

References nbNode().

Referenced by nbItem(), and nbNode().

◆ ownCells()

CellGroup Arcane::MeshArea::ownCells ( )
overridevirtual

Group of all cells belonging to the domain.

Implements Arcane::IMeshArea.

Definition at line 175 of file MeshArea.cc.

References ownCells().

Referenced by ownCells(), and ownItems().

◆ ownEdges()

EdgeGroup Arcane::MeshArea::ownEdges ( )
virtual

Group of all edges belonging to the domain.

Definition at line 167 of file MeshArea.cc.

References ownEdges().

Referenced by ownEdges(), and ownItems().

◆ ownFaces()

FaceGroup Arcane::MeshArea::ownFaces ( )
virtual

Group of all faces belonging to the domain.

Definition at line 171 of file MeshArea.cc.

References ownFaces().

Referenced by ownFaces(), and ownItems().

◆ ownItems()

ItemGroup Arcane::MeshArea::ownItems ( eItemKind item_kind)
virtual

Group of all entities belonging to the sub-domain of type item_kind.

Definition at line 179 of file MeshArea.cc.

References Arcane::IK_Cell, Arcane::IK_DoF, Arcane::IK_Edge, Arcane::IK_Face, Arcane::IK_Node, Arcane::IK_Particle, Arcane::IK_Unknown, ownCells(), ownEdges(), ownFaces(), ownItems(), and ownNodes().

Referenced by ownItems().

◆ ownNodes()

NodeGroup Arcane::MeshArea::ownNodes ( )
overridevirtual

Group of all nodes belonging to the domain.

Implements Arcane::IMeshArea.

Definition at line 163 of file MeshArea.cc.

References ownNodes().

Referenced by ownItems(), and ownNodes().

◆ setArea()

void Arcane::MeshArea::setArea ( const NodeGroup & nodes,
const CellGroup & cells )

Definition at line 77 of file MeshArea.cc.

◆ subDomain()

ISubDomain * Arcane::MeshArea::subDomain ( )
overridevirtual

Associated sub-domain.

Implements Arcane::IMeshArea.

Definition at line 50 of file MeshArea.cc.

◆ traceMng()

ITraceMng * Arcane::MeshArea::traceMng ( )
overridevirtual

Associated trace manager.

Implements Arcane::IMeshArea.

Definition at line 59 of file MeshArea.cc.

Member Data Documentation

◆ m_all_cells

CellGroup Arcane::MeshArea::m_all_cells
protected

Definition at line 112 of file MeshArea.h.

◆ m_all_edges

EdgeGroup Arcane::MeshArea::m_all_edges
protected

Definition at line 110 of file MeshArea.h.

◆ m_all_faces

FaceGroup Arcane::MeshArea::m_all_faces
protected

Definition at line 111 of file MeshArea.h.

◆ m_all_nodes

NodeGroup Arcane::MeshArea::m_all_nodes
protected

Definition at line 109 of file MeshArea.h.

◆ m_mesh

IMesh* Arcane::MeshArea::m_mesh = nullptr
protected

Definition at line 106 of file MeshArea.h.

◆ m_sub_domain

ISubDomain* Arcane::MeshArea::m_sub_domain = nullptr
protected

Definition at line 107 of file MeshArea.h.

◆ m_trace_mng

ITraceMng* Arcane::MeshArea::m_trace_mng = nullptr
protected

Definition at line 108 of file MeshArea.h.


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