Opm::BlackOilFluidSystem< Scalar, IndexTraits >::ParameterCache< EvaluationT > Struct Template Reference The type of the fluid system's parameter cache. More...
Inheritance diagram for Opm::BlackOilFluidSystem< Scalar, IndexTraits >::ParameterCache< EvaluationT >:
Detailed Descriptiontemplate<class Scalar, class IndexTraits = BlackOilDefaultIndexTraits> template<class EvaluationT> struct Opm::BlackOilFluidSystem< Scalar, IndexTraits >::ParameterCache< EvaluationT > The type of the fluid system's parameter cache. The parameter cache can be used to avoid re-calculating expensive parameters for multiple quantities. Be aware that what the parameter cache actually does is specific for each fluid system and that it is opaque outside the fluid system. Member Typedef Documentation◆ Evaluation
template<class Scalar , class IndexTraits = BlackOilDefaultIndexTraits>
template<class EvaluationT >
Member Enumeration Documentation◆ ExceptQuantities
Constants for ORing the quantities of the fluid state that have not changed since the last update. Constructor & Destructor Documentation◆ ParameterCache()
template<class Scalar , class IndexTraits = BlackOilDefaultIndexTraits>
template<class EvaluationT >
Member Function Documentation◆ assignPersistentData()
template<class Scalar , class IndexTraits = BlackOilDefaultIndexTraits>
template<class EvaluationT >
template<class OtherCache >
Copy the data which is not dependent on the type of the Scalars from another parameter cache. For the black-oil parameter cache this means that the region index must be copied. ◆ maxOilSat()
template<class Scalar , class IndexTraits = BlackOilDefaultIndexTraits>
template<class EvaluationT >
◆ regionIndex()
template<class Scalar , class IndexTraits = BlackOilDefaultIndexTraits>
template<class EvaluationT >
Return the index of the region which should be used to determine the thermodynamic properties. This is only required because "oil" and "gas" are pseudo-components, i.e. for more comprehensive equations of state there would only be one "region". Referenced by Opm::BlackOilFluidSystem< Scalar, IndexTraits >::density(), Opm::BlackOilFluidSystem< Scalar, IndexTraits >::diffusionCoefficient(), Opm::BlackOilFluidSystem< Scalar, IndexTraits >::enthalpy(), Opm::BlackOilFluidSystem< Scalar, IndexTraits >::fugacityCoefficient(), and Opm::BlackOilFluidSystem< Scalar, IndexTraits >::viscosity(). ◆ setMaxOilSat()
template<class Scalar , class IndexTraits = BlackOilDefaultIndexTraits>
template<class EvaluationT >
◆ setRegionIndex()
template<class Scalar , class IndexTraits = BlackOilDefaultIndexTraits>
template<class EvaluationT >
Set the index of the region which should be used to determine the thermodynamic properties. This is only required because "oil" and "gas" are pseudo-components, i.e. for more comprehensive equations of state there would only be one "region". ◆ updateAll()
Update the quantities of the parameter cache for all phases.
◆ updateAllPressures()
Update pressure dependent quantities of the parameter cache for all phases. This method should be called if only the phase pressures changed since the last call to an update() method.
◆ updateAllTemperatures()
Update temperature dependent quantities of the parameter cache for all phases. This method should be called if only the phase temperatures changed since the last call to an update() method.
◆ updateComposition()
Update all cached parameters of a specific fluid phase which depend on composition. Only use this method if neither the pressure nor the temperature of the phase changed between two update*() calls. If more changed, call updatePhase()!
◆ updatePhase()
Update all cached parameters of a specific fluid phase.
◆ updatePressure()
Update all cached parameters of a specific fluid phase which depend on pressure. Only use this method if only the pressure of a phase changed between two update*() calls. If more changed, call updatePhase()!
◆ updateSingleMoleFraction()
Update all cached parameters of a specific fluid phase which depend on the mole fraction of a single component. Only use this method if just a single component's concentration changed between two update*() calls. If more than one concentration changed, call updatePhaseComposition() of updatePhase()!
◆ updateTemperature()
Update all cached parameters of a specific fluid phase which depend on temperature. Only use this method if only the temperature of a phase changed between two update*() calls. If more changed, call updatePhase()!
The documentation for this struct was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||