GEOSX
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

const FE_TYPE & m_finiteElementSpace
 
const traits::ViewTypeConst< typename SUBREGION_TYPE::NodeMapType::base_type > m_elemsToNodes
 The element to nodes map.
 
const arrayView2d< real64 const, nodes::REFERENCE_POSITION_USD > m_X
 The reference position of the nodes.
 
const arrayView1d< real64 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 37 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 49 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 97 of file AverageOverQuadraturePointsKernel.hpp.

Member Data Documentation

◆ m_finiteElementSpace

template<typename SUBREGION_TYPE , typename FE_TYPE >
const FE_TYPE& 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 117 of file AverageOverQuadraturePointsKernel.hpp.


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