LifeV
RequestLoopElement< MeshType > Class Template Reference

RequestLoopElement - The class to request a loop over the elements of a mesh. More...

#include <RequestLoopElement.hpp>

+ Collaboration diagram for RequestLoopElement< MeshType >:

Private Attributes

std::shared_ptr< MeshTypeM_mesh
 
const UInt M_regionFlag
 
const UInt M_numVolumes
 
const UIntM_volumeElements
 
const bool M_integrateOnSubdomains
 

Constructors & Destructor

 RequestLoopElement (const std::shared_ptr< MeshType > &mesh, const UInt regionFlag=0, const UInt numVolumes=0, const UInt *volumeElements=nullptr, const bool integrateOnSubdomains=false)
 Simple constructor with a shared_ptr on the mesh. More...
 
 RequestLoopElement (const RequestLoopElement &loop)
 Copy constructor. More...
 
 ~RequestLoopElement ()
 

Get Methods

const std::shared_ptr< MeshType > & mesh () const
 Getter for the mesh pointer. More...
 
const UInt regionFlag () const
 Getter for the flag of the region of integration. More...
 
const UInt numVolumes () const
 
const UIntgetElementsRegionFlag () const
 Getter for the flag of the region of integration. More...
 
const bool getIfSubDomain () const
 

Private Methods

 RequestLoopElement ()
 No empty constructor. More...
 

Detailed Description

template<typename MeshType>
class LifeV::ExpressionAssembly::RequestLoopElement< MeshType >

RequestLoopElement - The class to request a loop over the elements of a mesh.

Author
Samuel Quinodoz

The only role of this class is to trigger, at compile time (through its type), loops on the elements of the mesh stored internally.

Template parameters

MeshType: The type of the mesh.

Template requirements

MeshType: none

Definition at line 68 of file RequestLoopElement.hpp.

Constructor & Destructor Documentation

◆ RequestLoopElement() [1/3]

RequestLoopElement ( const std::shared_ptr< MeshType > &  mesh,
const UInt  regionFlag = 0,
const UInt  numVolumes = 0,
const UInt volumeElements = nullptr,
const bool  integrateOnSubdomains = false 
)
inline

Simple constructor with a shared_ptr on the mesh.

Definition at line 76 of file RequestLoopElement.hpp.

+ Here is the caller graph for this function:

◆ RequestLoopElement() [2/3]

RequestLoopElement ( const RequestLoopElement< MeshType > &  loop)
inline

Copy constructor.

Definition at line 84 of file RequestLoopElement.hpp.

+ Here is the caller graph for this function:

◆ ~RequestLoopElement()

~RequestLoopElement ( )
inline

Definition at line 89 of file RequestLoopElement.hpp.

◆ RequestLoopElement() [3/3]

RequestLoopElement ( )
private

No empty constructor.

Member Function Documentation

◆ mesh()

const std::shared_ptr<MeshType>& mesh ( ) const
inline

Getter for the mesh pointer.

Definition at line 100 of file RequestLoopElement.hpp.

◆ regionFlag()

const UInt regionFlag ( ) const
inline

Getter for the flag of the region of integration.

Definition at line 106 of file RequestLoopElement.hpp.

◆ numVolumes()

const UInt numVolumes ( ) const
inline

Definition at line 111 of file RequestLoopElement.hpp.

◆ getElementsRegionFlag()

const UInt* getElementsRegionFlag ( ) const
inline

Getter for the flag of the region of integration.

Definition at line 117 of file RequestLoopElement.hpp.

◆ getIfSubDomain()

const bool getIfSubDomain ( ) const
inline

Definition at line 122 of file RequestLoopElement.hpp.

Field Documentation

◆ M_mesh

std::shared_ptr<MeshType> M_mesh
private

Definition at line 140 of file RequestLoopElement.hpp.

◆ M_regionFlag

const UInt M_regionFlag
private

Definition at line 143 of file RequestLoopElement.hpp.

◆ M_numVolumes

const UInt M_numVolumes
private

Definition at line 144 of file RequestLoopElement.hpp.

◆ M_volumeElements

const UInt* M_volumeElements
private

Definition at line 145 of file RequestLoopElement.hpp.

◆ M_integrateOnSubdomains

const bool M_integrateOnSubdomains
private

Definition at line 146 of file RequestLoopElement.hpp.


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