GEOS
Classes | Public Member Functions | Protected Attributes | List of all members
geos::AverageOverQuadraturePointsBase< SUBREGION_TYPE, FE_TYPE > Class Template Reference

#include <AverageOverQuadraturePointsKernel.hpp>

Inheritance diagram for geos::AverageOverQuadraturePointsBase< SUBREGION_TYPE, FE_TYPE >:
Inheritance graph
[legend]

Classes

struct  StackVariables
 Kernel variables allocated on the stack. More...
 

Public Member Functions

 AverageOverQuadraturePointsBase (NodeManager &nodeManager, EdgeManager const &edgeManager, FaceManager const &faceManager, SUBREGION_TYPE const &elementSubRegion, FE_TYPE const &finiteElementSpace)
 Constructor for the class. More...
 
GEOS_HOST_DEVICE void setup (localIndex const k, StackVariables &stack) const
 Performs the setup phase for the kernel. More...
 

Protected Attributes

FE_TYPE const & m_finiteElementSpace
 
traits::ViewTypeConst< typename SUBREGION_TYPE::NodeMapType::base_type > const m_elemsToNodes
 The element to nodes map.
 
arrayView2d< real64 const, nodes::REFERENCE_POSITION_USD > const m_X
 The reference position of the nodes.
 
arrayView1d< real64 const > const m_elementVolume
 The volume of the elements.
 
FE_TYPE::template MeshData< SUBREGION_TYPE > m_meshData
 Data structure containing mesh data used to setup the finite element.
 

Detailed Description

template<typename SUBREGION_TYPE, typename FE_TYPE>
class geos::AverageOverQuadraturePointsBase< SUBREGION_TYPE, FE_TYPE >

Template Parameters
SUBREGION_TYPEthe subRegion type
FE_TYPEthe finite element type

Definition at line 38 of file AverageOverQuadraturePointsKernel.hpp.

Constructor & Destructor Documentation

◆ AverageOverQuadraturePointsBase()

template<typename SUBREGION_TYPE , typename FE_TYPE >
geos::AverageOverQuadraturePointsBase< SUBREGION_TYPE, FE_TYPE >::AverageOverQuadraturePointsBase ( NodeManager nodeManager,
EdgeManager const &  edgeManager,
FaceManager const &  faceManager,
SUBREGION_TYPE const &  elementSubRegion,
FE_TYPE const &  finiteElementSpace 
)
inline

Constructor for the class.

Parameters
nodeManagerthe node manager
edgeManagerthe edge manager
faceManagerthe face manager
elementSubRegionthe element subRegion
finiteElementSpacethe finite element space

Definition at line 50 of file AverageOverQuadraturePointsKernel.hpp.

Member Function Documentation

◆ setup()

template<typename SUBREGION_TYPE , typename FE_TYPE >
GEOS_HOST_DEVICE void geos::AverageOverQuadraturePointsBase< SUBREGION_TYPE, FE_TYPE >::setup ( localIndex const  k,
StackVariables stack 
) const
inline

Performs the setup phase for the kernel.

Parameters
kThe element index.
stackThe StackVariable object that hold the stack variables.

Definition at line 98 of file AverageOverQuadraturePointsKernel.hpp.

Member Data Documentation

◆ m_finiteElementSpace

template<typename SUBREGION_TYPE , typename FE_TYPE >
FE_TYPE const& geos::AverageOverQuadraturePointsBase< SUBREGION_TYPE, FE_TYPE >::m_finiteElementSpace
protected

The finite element space/discretization object for the element type in the SUBREGION_TYPE.

Definition at line 118 of file AverageOverQuadraturePointsKernel.hpp.


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