opm/material/fluidsystems/blackoilpvt/WaterPvtMultiplexer.hpp File Reference

#include "ConstantCompressibilityWaterPvt.hpp"
#include "WaterPvtThermal.hpp"

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...

Defines

#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.


Define 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!"); \
    }

Generated on 25 Mar 2018 by  doxygen 1.6.1