#include "DryGasPvt.hpp"
#include "WetGasPvt.hpp"
#include "GasPvtThermal.hpp"
Go to the source code of this file.
Classes | |
class | Opm::GasPvtMultiplexer< Scalar, enableThermal > |
This class represents the Pressure-Volume-Temperature relations of the gas phase in the black-oil model. More... | |
Defines | |
#define | OPM_GAS_PVT_MULTIPLEXER_CALL(codeToCall) |
This class represents the Pressure-Volume-Temperature relations of the gas phase in the black-oil model. This is a multiplexer class which forwards all calls to the real implementation.Note that, since the main application for this class is the black oil fluid system, the API exposed by this class is pretty specific to the assumptions made by the black oil model.
#define OPM_GAS_PVT_MULTIPLEXER_CALL | ( | codeToCall | ) |
switch (gasPvtApproach_) { \ case DryGasPvt: { \ auto& pvtImpl = getRealPvt<DryGasPvt>(); \ codeToCall; \ break; \ } \ case WetGasPvt: { \ auto& pvtImpl = getRealPvt<WetGasPvt>(); \ codeToCall; \ break; \ } \ case ThermalGasPvt: { \ auto& pvtImpl = getRealPvt<ThermalGasPvt>(); \ codeToCall; \ break; \ } \ case NoGasPvt: \ OPM_THROW(std::logic_error, "Not implemented: Gas PVT of this deck!"); \ }