20 #ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_SINGLEPHASE_MOBILITYKERNEL_HPP
21 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_SINGLEPHASE_MOBILITYKERNEL_HPP
24 #include "common/GEOS_RAJA_Interface.hpp"
29 namespace singlePhaseBaseKernels
40 compute(
real64 const & dens,
41 real64 const & dDens_dPres,
43 real64 const & dVisc_dPres,
48 dMob_dPres = dDens_dPres / visc - mob / visc * dVisc_dPres;
55 compute(
real64 const & dens,
56 real64 const & dDens_dPres,
57 real64 const & dDens_dTemp,
59 real64 const & dVisc_dPres,
60 real64 const & dVisc_dTemp,
66 dMob_dPres = dDens_dPres / visc - mob / visc * dVisc_dPres;
67 dMob_dTemp = dDens_dTemp / visc - mob / visc * dVisc_dTemp;
74 compute(
real64 const & dens,
82 template<
typename POLICY >
103 template<
typename POLICY >
130 template<
typename POLICY >
#define GEOS_HOST_DEVICE
Marks a host-device function.
ArrayView< T, 1 > arrayView1d
Alias for 1D array view.
double real64
64-bit floating point type.
GEOS_LOCALINDEX_TYPE localIndex
Local index type (for indexing objects within an MPI partition).
ArrayView< T, 2, USD > arrayView2d
Alias for 2D array view.