27#ifndef OPM_MODULAR_FLUID_STATE_HPP
28#define OPM_MODULAR_FLUID_STATE_HPP
52template <
class ScalarT,
54 unsigned numComponentsV,
56 class TemperatureModule,
57 class CompositionModule,
59 class SaturationModule,
61 class ViscosityModule,
64 :
public PressureModule
65 ,
public TemperatureModule
66 ,
public CompositionModule
67 ,
public FugacityModule
68 ,
public SaturationModule
69 ,
public DensityModule
70 ,
public ViscosityModule
71 ,
public EnthalpyModule
74 typedef ScalarT Scalar;
75 enum { numPhases = numPhasesV };
76 enum { numComponents = numComponentsV };
88 PressureModule::checkDefined();
89 TemperatureModule::checkDefined();
90 CompositionModule::checkDefined();
91 SaturationModule::checkDefined();
92 DensityModule::checkDefined();
93 ViscosityModule::checkDefined();
94 EnthalpyModule::checkDefined();
101 template <
class Flu
idState>
104 PressureModule::assign(fs);
105 TemperatureModule::assign(fs);
106 CompositionModule::assign(fs);
107 SaturationModule::assign(fs);
108 DensityModule::assign(fs);
109 ViscosityModule::assign(fs);
110 EnthalpyModule::assign(fs);
Modules for the ModularFluidState which represent composition.
Modules for the ModularFluidState which represent density.
Modules for the ModularFluidState which represent enthalpy.
Modules for the ModularFluidState which represent fugacity/chemical potential.
Modules for the ModularFluidState which represent pressure.
Modules for the ModularFluidState which represent saturation.
Modules for the ModularFluidState which represent temperature.
Modules for the ModularFluidState which represent viscosity.
Some templates to wrap the valgrind client request macros.
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
Definition ModularFluidState.hpp:72
void assign(const FluidState &fs)
Retrieve all parameters from an arbitrary fluid state.
Definition ModularFluidState.hpp:102
void checkDefined() const
Make sure that all attributes are defined.
Definition ModularFluidState.hpp:86
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30