WaterPvtMultiplexer.hpp File Reference #include "ConstantCompressibilityWaterPvt.hpp" #include "ConstantCompressibilityBrinePvt.hpp" #include "WaterPvtThermal.hpp"
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.
Detailed DescriptionThis class represents the Pressure-Volume-Temperature relations of the water phase in the black-oil model. Macro Definition Documentation◆ OPM_WATER_PVT_MULTIPLEXER_CALL
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!"); \
}
|
||||||||||||||||||||||||||||||||