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◆ Scalar
Member Enumeration Documentation◆ anonymous enum◆ anonymous enumConstructor & Destructor Documentation◆ BlackoilStateToFluidState()
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. Member Function Documentation◆ saturation()
Returns the saturation of a phase for the current cell index. References numPhases. ◆ setCurrentCellIndex()
Sets the index of the currently used cell. After calling this, the values returned by the other methods are specific for this cell. ◆ temperature()
Returns the temperature [K] of a phase for the current cell index. The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||