All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WaterPvtMultiplexer.hpp File Reference

This class represents the Pressure-Volume-Temperature relations of the water phase in the black-oil model. More...

Go to the source code of this file.

Classes

class  Opm::WaterPvtMultiplexer< Scalar, enableThermal >
 This class represents the Pressure-Volume-Temperature relations of the water phase in the black-oil model. More...
 

Macros

#define OPM_WATER_PVT_MULTIPLEXER_CALL(codeToCall)
 

Detailed Description

This class represents the Pressure-Volume-Temperature relations of the water phase in the black-oil model.

Macro Definition Documentation

#define OPM_WATER_PVT_MULTIPLEXER_CALL (   codeToCall)
Value:
switch (approach_) { \
case ConstantCompressibilityWaterPvt: { \
auto& pvtImpl = getRealPvt<ConstantCompressibilityWaterPvt>(); \
codeToCall; \
break; \
} \
case ThermalWaterPvt: { \
auto& pvtImpl = getRealPvt<ThermalWaterPvt>(); \
codeToCall; \
break; \
} \
case NoWaterPvt: \
OPM_THROW(std::logic_error, "Not implemented: Water PVT of this deck!"); \
}