20 #ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_COMPOSITIONAL_CAPILLARYPRESSUREUPDATEKERNEL_HPP
21 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_COMPOSITIONAL_CAPILLARYPRESSUREUPDATEKERNEL_HPP
24 #include "common/GEOS_RAJA_Interface.hpp"
29 namespace isothermalCompositionalMultiphaseBaseKernels
36 template<
typename POLICY,
typename CAPPRES_WRAPPER >
39 CAPPRES_WRAPPER
const & capPresWrapper,
44 for(
localIndex q = 0; q < capPresWrapper.numGauss(); ++q )
46 capPresWrapper.update( k, q, phaseVolFrac[k] );
51 template<
typename POLICY,
typename CAPPRES_WRAPPER >
54 CAPPRES_WRAPPER
const & capPresWrapper,
60 for(
localIndex q = 0; q < capPresWrapper.numGauss(); ++q )
62 capPresWrapper.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.