20 #ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_COMPOSITIONAL_PROPERTYKERNELBASE_HPP
21 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_COMPOSITIONAL_PROPERTYKERNELBASE_HPP
24 #include "common/GEOS_RAJA_Interface.hpp"
29 namespace isothermalCompositionalMultiphaseBaseKernels
39 template<
integer NUM_COMP >
54 template<
typename POLICY,
typename KERNEL_TYPE >
57 KERNEL_TYPE
const & kernelComponent )
61 kernelComponent.compute( ei );
72 template<
typename POLICY,
typename KERNEL_TYPE >
75 KERNEL_TYPE
const & kernelComponent )
80 kernelComponent.compute( ei );
#define GEOS_HOST_DEVICE
Marks a host-device function.
Define the base interface for the property update kernels.
static void launch(localIndex const numElems, KERNEL_TYPE const &kernelComponent)
Performs the kernel launch.
static constexpr integer numComp
Compile time value for the number of components.
static void launch(SortedArrayView< localIndex const > const &targetSet, KERNEL_TYPE const &kernelComponent)
Performs the kernel launch on a sorted array.
GEOS_LOCALINDEX_TYPE localIndex
Local index type (for indexing objects within an MPI partition).
std::int32_t integer
Signed integer type.
LvArray::SortedArrayView< T, localIndex, LvArray::ChaiBuffer > SortedArrayView
A sorted array view of local indices.