WaterPvtMultiplexer.hpp File Reference
Include dependency graph for WaterPvtMultiplexer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

namespace  Opm
 

Macros

#define OPM_WATER_PVT_MULTIPLEXER_CALL(codeToCall)
 

Enumerations

enum class  Opm::WaterPvtApproach { Opm::NoWaterPvt , Opm::ConstantCompressibilityBrinePvt , Opm::ConstantCompressibilityWaterPvt , Opm::ThermalWaterPvt }
 

Detailed Description

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

Macro Definition Documentation

◆ OPM_WATER_PVT_MULTIPLEXER_CALL

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