My Project
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, enableBrine >
 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)
 

Enumerations

enum class  WaterPvtApproach { NoWaterPvt , ConstantCompressibilityBrinePvt , ConstantCompressibilityWaterPvt , 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!"); \
}