19 #ifndef GEOSX_FINITEVOLUME_BOUNDARYSTENCIL_HPP_ 20 #define GEOSX_FINITEVOLUME_BOUNDARYSTENCIL_HPP_ 22 #include "StencilBase.hpp" 23 #include "codingUtilities/traits.hpp" 84 localIndex const *
const elementSubRegionIndices,
86 real64 const *
const weights,
87 localIndex const connectorIndex )
override final;
93 {
return m_elementRegionIndices.size( 0 ); }
110 #endif //GEOSX_FINITEVOLUME_BOUNDARYSTENCIL_HPP_
traits::ViewType< WeightContainerType > WeightContainerViewType
The array view type for the stencil weights.
traits::ViewTypeConst< IndexContainerType > IndexContainerViewConstType
The array view to const type for the stencil indices.
double real64
64-bit floating point type.
Defines the order of element/face in the stencil.
traits::ViewType< IndexContainerType > IndexContainerViewType
The array view type for the stencil indices.
#define GEOSX_UNUSED_VAR(...)
Mark an unused variable and silence compiler warnings.
virtual localIndex size() const override final
Give the number of stencil entries.
std::ptrdiff_t localIndex
Local index type (for indexing objects within an MPI partition).
traits::ViewTypeConst< WeightContainerType > WeightContainerViewConstType
The array view to const type for the stencil weights.
constexpr void add(DST_VECTOR &&LVARRAY_RESTRICT_REF dstVector, SRC_VECTOR const &LVARRAY_RESTRICT_REF srcVector)
Add srcVector to dstVector.
This class provides a fixed dimensional resizeable array interface in addition to an interface simila...
constexpr localIndex stencilSize(localIndex const index) const
Gives the number of points in a stencil entry.
static constexpr localIndex MAX_STENCIL_SIZE
Maximum number of points in a stencil (this is 2 for TPFA)
static constexpr localIndex NUM_POINT_IN_FLUX
Number of points the flux is between (always 2 for TPFA)