20 #ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_COMPOSITIONAL_RELATIVEPERMEABILITYUPDATEKERNEL_HPP
21 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_COMPOSITIONAL_RELATIVEPERMEABILITYUPDATEKERNEL_HPP
24 #include "common/GEOS_RAJA_Interface.hpp"
29 namespace isothermalCompositionalMultiphaseBaseKernels
36 template<
typename POLICY,
typename RELPERM_WRAPPER >
39 RELPERM_WRAPPER
const & relPermWrapper,
44 for(
localIndex q = 0; q < relPermWrapper.numGauss(); ++q )
46 relPermWrapper.update( k, q, phaseVolFrac[k] );
51 template<
typename POLICY,
typename RELPERM_WRAPPER >
54 RELPERM_WRAPPER
const & relPermWrapper,
60 for(
localIndex q = 0; q < relPermWrapper.numGauss(); ++q )
62 relPermWrapper.update( k, q, phaseVolFrac[k] );
#define GEOS_HOST_DEVICE
Marks a host-device function.
GEOS_LOCALINDEX_TYPE localIndex
Local index type (for indexing objects within an MPI partition).
LvArray::SortedArrayView< T, localIndex, LvArray::ChaiBuffer > SortedArrayView
A sorted array view of local indices.
ArrayView< T, 2, USD > arrayView2d
Alias for 2D array view.