Opm::ExplicitArraysFluidState Class Reference This is a fluid state which translates global arrays and translates them to a subset of the fluid state API. More...
Detailed DescriptionThis is a fluid state which translates global arrays and translates them to a subset of the fluid state API. This class is similar to Opm::BlackoilStateToFluidState. Member Typedef Documentation◆ Scalar
Member Enumeration Documentation◆ anonymous enumConstructor & Destructor Documentation◆ ExplicitArraysFluidState()
Member Function Documentation◆ saturation()
Returns the saturation of a phase for the current cell index. ◆ setIndex()
Sets the currently used array index. After calling this, the values returned by the other methods are specific for this index. References Opm::BlackoilPhases::MaxNumPhases, Opm::PhaseUsage::num_phases, Opm::PhaseUsage::phase_pos, and Opm::PhaseUsage::phase_used. ◆ setSaturationArray()
Set the array containing the phase saturations. This array is supposed to be of size numPhases*size and is not allowed to be deleted while the ExplicitArraysFluidState object is alive. This class assumes that the saturations of all phase saturations for a point are consequtive, i.e., in the array the saturations cycle fastest. The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||