15 #ifndef OPM_NULL_OIL_PVT_HPP 16 #define OPM_NULL_OIL_PVT_HPP 18 #include <opm/common/ErrorMacros.hpp> 19 #include <opm/common/utility/gpuDecorators.hpp> 33 template <
class Scalar>
38 OPM_HOST_DEVICE
static constexpr
auto approach()
40 return OilPvtApproach::NoOil;
43 OPM_HOST_DEVICE
static constexpr
bool isActive()
49 template <
class Evaluation>
50 OPM_HOST_DEVICE Evaluation inverseFormationVolumeFactor(
unsigned ,
53 const Evaluation& )
const 58 template <
class Evaluation>
59 OPM_HOST_DEVICE Evaluation saturatedInverseFormationVolumeFactor(
unsigned ,
61 const Evaluation& )
const 67 template <
class Evaluation>
68 OPM_HOST_DEVICE Evaluation saturatedGasDissolutionFactor(
unsigned ,
70 const Evaluation& )
const 75 template <
class Evaluation>
76 OPM_HOST_DEVICE Evaluation saturatedGasDissolutionFactor(
unsigned ,
80 const Evaluation& )
const 86 template <
class Evaluation>
87 OPM_HOST_DEVICE Evaluation saturationPressure(
unsigned ,
89 const Evaluation& )
const 95 template <
class Evaluation>
96 OPM_HOST_DEVICE Evaluation viscosity(
unsigned ,
99 const Evaluation& )
const 104 template <
class Evaluation>
105 OPM_HOST_DEVICE Evaluation saturatedViscosity(
unsigned ,
107 const Evaluation& )
const 113 template <
class Evaluation>
114 OPM_HOST_DEVICE Evaluation internalEnergy(
unsigned ,
117 const Evaluation& )
const 123 OPM_HOST_DEVICE
void setVapPars(
const Scalar ,
const Scalar )
const 128 OPM_HOST_DEVICE Scalar hVap(
unsigned )
const 134 OPM_HOST_DEVICE
static constexpr
bool mixingEnergy()
140 template <
class Evaluation>
141 OPM_HOST_DEVICE Evaluation diffusionCoefficient(
const Evaluation& ,
148 OPM_HOST_DEVICE Scalar oilReferenceDensity(
unsigned )
const 150 OPM_THROW(std::logic_error,
"NullOilPvt does not support oil reference density.");
156 #endif // OPM_NULL_OIL_PVT_HPP Null object for oil PVT calculations.
Definition: NullOilPvt.hpp:34
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
This class represents the Pressure-Volume-Temperature relations of the oil phase in the black-oil mod...