GEOSX
|
#include <StencilBase.hpp>
Public Member Functions | |
StencilWrapperBase (typename LEAFCLASSTRAITS::IndexContainerType const &elementRegionIndices, typename LEAFCLASSTRAITS::IndexContainerType const &elementSubRegionIndices, typename LEAFCLASSTRAITS::IndexContainerType const &elementIndices, typename LEAFCLASSTRAITS::WeightContainerType const &weights) | |
Constructor. More... | |
LEAFCLASSTRAITS::IndexContainerViewConstType | getElementRegionIndices () const |
Const access to the element regions indices. More... | |
LEAFCLASSTRAITS::IndexContainerViewConstType | getElementSubRegionIndices () const |
Const access to the element subregions indices. More... | |
LEAFCLASSTRAITS::IndexContainerViewConstType | getElementIndices () const |
Const access to the element indices. More... | |
LEAFCLASSTRAITS::WeightContainerViewConstType | getWeights () const |
Const access to the stencil weights. More... | |
virtual localIndex | size () const =0 |
Give the number of stencil entries. More... | |
Protected Attributes | |
LEAFCLASSTRAITS::IndexContainerViewConstType | m_elementRegionIndices |
The container for the element region indices for each point in each stencil. | |
LEAFCLASSTRAITS::IndexContainerViewConstType | m_elementSubRegionIndices |
The container for the element sub region indices for each point in each stencil. | |
LEAFCLASSTRAITS::IndexContainerViewConstType | m_elementIndices |
The container for the element indices for each point in each stencil. | |
LEAFCLASSTRAITS::WeightContainerViewConstType | m_weights |
The container for the weights for each point in each stencil. | |
Class to provide access to the computation of stencil weights that may be called from a kernel function.
Definition at line 35 of file StencilBase.hpp.
|
inline |
Constructor.
elementRegionIndices | The container for the element region indices for each point in each stencil |
elementSubRegionIndices | The container for the element sub region indices for each point in each stencil |
elementIndices | The container for the element indices for each point in each stencil |
weights | The container for the weights for each point in each stencil |
Definition at line 45 of file StencilBase.hpp.
|
inline |
Const access to the element indices.
Definition at line 71 of file StencilBase.hpp.
|
inline |
Const access to the element regions indices.
Definition at line 59 of file StencilBase.hpp.
|
inline |
Const access to the element subregions indices.
Definition at line 65 of file StencilBase.hpp.
|
inline |
Const access to the stencil weights.
Definition at line 77 of file StencilBase.hpp.
|
pure virtual |
Give the number of stencil entries.
Implemented in geosx::CellElementStencilTPFAWrapper, geosx::SurfaceElementStencilWrapper, geosx::FaceElementToCellStencilWrapper, and geosx::EmbeddedSurfaceToCellStencilWrapper.