Opm::BlackoilStateToFluidState Class Reference This is an light weight "impedance adaption" class with a well defined API for saturation and PVT functions. More...
Detailed DescriptionThis is an light weight "impedance adaption" class with a well defined API for saturation and PVT functions. It uses a stripped down version of opm-material's FluidState API and takes an Opm::BlackoilState plus a cell index. Note that this class requires that is underlying BlackoilState must valid for at least as long as an object of BlackoilStateToFluidState is used. Member Typedef Documentation
Member Enumeration DocumentationConstructor & Destructor Documentation
Create a BlackoilState to Fluid state wrapper object. Note that this class requires that is underlying BlackoilState must valid for at least as long as an object of BlackoilStateToFluidState is used. References numPhases, and Opm::SimulatorState::numPhases(). Member Function Documentation
Returns the saturation of a phase for the current cell index. References numPhases, and Opm::SimulatorState::saturation().
Sets the index of the currently used cell. After calling this, the values returned by the other methods are specific for this cell.
Returns the temperature [K] of a phase for the current cell index. References Opm::SimulatorState::temperature(). The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||