25 #ifndef OPM_SIMPLE_MODULAR_FLUID_STATE_HPP
26 #define OPM_SIMPLE_MODULAR_FLUID_STATE_HPP
38 #include <type_traits>
42 #define OPM_SMFS SimpleModularFluidState<ScalarT, \
63 template <
class ScalarT,
68 bool storeTemperature,
69 bool storeComposition,
77 typename std::conditional<storePressure,
78 FluidStateExplicitPressureModule<ScalarT, numPhasesV, OPM_SMFS>,
79 FluidStateNullPressureModule<ScalarT> >::type,
80 typename std::conditional<storeTemperature,
81 FluidStateExplicitTemperatureModule<ScalarT, numPhasesV, OPM_SMFS>,
82 FluidStateNullTemperatureModule<ScalarT> >::type,
83 typename std::conditional<storeComposition,
84 FluidStateExplicitCompositionModule<ScalarT, FluidSystem, OPM_SMFS>,
85 FluidStateNullCompositionModule<ScalarT> >::type,
86 typename std::conditional<storeFugacity,
87 FluidStateExplicitFugacityModule<ScalarT, numPhasesV, numComponentsV, OPM_SMFS>,
88 FluidStateNullFugacityModule<ScalarT> >::type,
89 typename std::conditional<storeSaturation,
90 FluidStateExplicitSaturationModule<ScalarT, numPhasesV, OPM_SMFS>,
91 FluidStateNullSaturationModule<ScalarT> >::type,
92 typename std::conditional<storeDensity,
93 FluidStateExplicitDensityModule<ScalarT, numPhasesV, OPM_SMFS>,
94 FluidStateNullDensityModule<ScalarT, numPhasesV, OPM_SMFS> >::type,
95 typename std::conditional<storeViscosity,
96 FluidStateExplicitViscosityModule<ScalarT, numPhasesV, OPM_SMFS>,
97 FluidStateNullViscosityModule<ScalarT, numPhasesV, OPM_SMFS> >::type,
98 typename std::conditional<storeEnthalpy,
99 FluidStateExplicitEnthalpyModule<ScalarT, numPhasesV, OPM_SMFS>,
100 FluidStateNullEnthalpyModule<ScalarT, numPhasesV, OPM_SMFS> >::type
Modules for the ModularFluidState which represent fugacity/chemical potential.
Modules for the ModularFluidState which represent saturation.
Definition: Air_Mesitylene.hpp:31
Modules for the ModularFluidState which represent viscosity.
Modules for the ModularFluidState which represent composition.
Modules for the ModularFluidState which represent enthalpy.
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
Definition: ModularFluidState.hpp:61
Modules for the ModularFluidState which represent density.
Modules for the ModularFluidState which represent temperature.
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
Definition: SimpleModularFluidState.hpp:75
Modules for the ModularFluidState which represent pressure.
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...