19 #ifndef GEOSX_FINITEVOLUME_FACEELEMENTSTENCIL_HPP_ 20 #define GEOSX_FINITEVOLUME_FACEELEMENTSTENCIL_HPP_ 22 #include "StencilBase.hpp" 33 #define ALLOW_CREATION_MASS 1 38 #define SET_CREATION_PRESSURE 1 43 #define SET_CREATION_DISPLACEMENT 0 97 localIndex const *
const elementSubRegionIndices,
99 real64 const *
const weights,
100 localIndex const connectorIndex )
override final;
109 R1Tensor const *
const cellCenterToEdgeCenter,
117 {
return m_elementRegionIndices.size(); }
125 {
return m_elementRegionIndices.sizeOfArray( index ); }
132 {
return m_cellCenterToEdgeCenters.toViewConst(); }
This class implements an array of arrays like object with contiguous storage.
double real64
64-bit floating point type.
This class provides a view into an array of arrays like object.
Lightweight wrapper around a c-array.
static localIndex constexpr MAX_STENCIL_SIZE
Maximum number of points in a stencil.
ArrayOfArraysView< R1Tensor const > getCellCenterToEdgeCenters() const
Give the array of vectors pointing from the cell center to the edge center.
MemorySpace
An enum containing the available memory spaces.
std::ptrdiff_t localIndex
Local index type (for indexing objects within an MPI partition).
localIndex stencilSize(localIndex index) const
Give the number of stencil entries for the provided index.
constexpr void add(DST_VECTOR &&LVARRAY_RESTRICT_REF dstVector, SRC_VECTOR const &LVARRAY_RESTRICT_REF srcVector)
Add srcVector to dstVector.
virtual localIndex size() const override final
Return the stencil size.
static localIndex constexpr NUM_POINT_IN_FLUX
Number of points the flux is between (normally 2)