20 #ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_COMPOSITIONAL_FLUIDUPDATEKERNEL_HPP
21 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_COMPOSITIONAL_FLUIDUPDATEKERNEL_HPP
24 #include "common/GEOS_RAJA_Interface.hpp"
29 namespace thermalCompositionalMultiphaseBaseKernels
36 template<
typename POLICY,
typename FLUID_WRAPPER >
39 FLUID_WRAPPER
const & fluidWrapper,
46 for(
localIndex q = 0; q < fluidWrapper.numGauss(); ++q )
48 fluidWrapper.update( k, q, pres[k], temp[k], compFrac[k] );
53 template<
typename POLICY,
typename FLUID_WRAPPER >
56 FLUID_WRAPPER
const & fluidWrapper,
64 for(
localIndex q = 0; q < fluidWrapper.numGauss(); ++q )
66 fluidWrapper.update( k, q, pres[k], temp[k], compFrac[k] );
#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).
LvArray::SortedArrayView< T, localIndex, LvArray::ChaiBuffer > SortedArrayView
A sorted array view of local indices.
ArrayView< T, 2, USD > arrayView2d
Alias for 2D array view.