37 #ifndef LOOP_REQUEST_HPP 38 #define LOOP_REQUEST_HPP 40 #include <lifev/core/LifeV.hpp> 42 #include <boost/shared_ptr.hpp> 48 namespace ExpressionAssembly
67 template <
typename MeshType>
78 const bool integrateOnSubdomains =
false )
91 M_volumeElements = nullptr;
167 template<
typename MeshType >
169 elements (
const std::shared_ptr<MeshType>& mesh,
const UInt flag = 0,
const UInt numVolumes = 0,
170 const UInt * volumeElements =
nullptr,
const bool subDomain =
false )
173 return RequestLoopElement<MeshType> ( mesh, flag, numVolumes, volumeElements, subDomain );
const std::shared_ptr< MeshType > & mesh() const
Getter for the mesh pointer.
RequestLoopElement()
No empty constructor.
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.
const UInt * M_volumeElements
void updateInverseJacobian(const UInt &iQuadPt)
RequestLoopElement< MeshType > elements(const std::shared_ptr< MeshType > &mesh, const UInt flag=0, const UInt numVolumes=0, const UInt *volumeElements=nullptr, const bool subDomain=false)
elements - A helper method to trigger the loop on the elements of a mesh
RequestLoopElement(const RequestLoopElement &loop)
Copy constructor.
std::shared_ptr< MeshType > M_mesh
const bool getIfSubDomain() const
const UInt regionFlag() const
Getter for the flag of the region of integration.
const UInt numVolumes() const
const bool M_integrateOnSubdomains
RequestLoopElement - The class to request a loop over the elements of a mesh.
const UInt * getElementsRegionFlag() const
Getter for the flag of the region of integration.
uint32_type UInt
generic unsigned integer (used mainly for addressing)