20 #ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_STENCILWEIGHTSUPDATEKERNEL_HPP
21 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_STENCILWEIGHTSUPDATEKERNEL_HPP
24 #include "common/GEOS_RAJA_Interface.hpp"
30 namespace flowSolverBaseKernels
33 template<
typename VIEWTYPE >
34 using ElementViewConst = ElementRegionManager::ElementViewConst< VIEWTYPE >;
41 template<
typename STENCILWRAPPER >
55 stencilWrapper.removeHydraulicApertureContribution( iconn, hydraulicAperture );
70 stencilWrapper.addHydraulicApertureContribution( iconn, hydraulicAperture );
#define GEOS_HOST_DEVICE
Marks a host-device function.
ArrayView< T, 1 > arrayView1d
Alias for 1D array view.
GEOS_LOCALINDEX_TYPE localIndex
Local index type (for indexing objects within an MPI partition).
static void prepareStencilWeights(STENCILWRAPPER &stencilWrapper, ElementViewConst< arrayView1d< real64 const > > const hydraulicAperture)
static void updateStencilWeights(STENCILWRAPPER &stencilWrapper, ElementViewConst< arrayView1d< real64 const > > const hydraulicAperture)