The base class of the parameter caches of fluid systems.  
 More...
#include <ParameterCacheBase.hpp>
 | 
|   | ParameterCacheBase () | 
|   | 
| template<class FluidState >  | 
| void  | updateAll (const FluidState &fluidState, int=None) | 
|   | Update the quantities of the parameter cache for all phases.  More...
  | 
|   | 
| template<class FluidState >  | 
| void  | updateAllPressures (const FluidState &fluidState) | 
|   | Update pressure dependent quantities of the parameter cache for all phases.  More...
  | 
|   | 
| template<class FluidState >  | 
| void  | updateAllTemperatures (const FluidState &fluidState) | 
|   | Update temperature dependent quantities of the parameter cache for all phases.  More...
  | 
|   | 
| template<class FluidState >  | 
| void  | updatePhase (const FluidState &, unsigned, int=None) | 
|   | Update all cached parameters of a specific fluid phase.  More...
  | 
|   | 
| template<class FluidState >  | 
| void  | updateTemperature (const FluidState &fluidState, unsigned phaseIdx) | 
|   | Update all cached parameters of a specific fluid phase which depend on temperature.  More...
  | 
|   | 
| template<class FluidState >  | 
| void  | updatePressure (const FluidState &fluidState, unsigned phaseIdx) | 
|   | Update all cached parameters of a specific fluid phase which depend on pressure.  More...
  | 
|   | 
| template<class FluidState >  | 
| void  | updateComposition (const FluidState &fluidState, unsigned phaseIdx) | 
|   | Update all cached parameters of a specific fluid phase which depend on composition.  More...
  | 
|   | 
| template<class FluidState >  | 
| void  | updateSingleMoleFraction (const FluidState &fluidState, unsigned phaseIdx, unsigned) | 
|   | Update all cached parameters of a specific fluid phase which depend on the mole fraction of a single component.  More...
  | 
|   | 
template<class Implementation>
class Opm::ParameterCacheBase< Implementation >
The base class of the parameter caches of fluid systems. 
 
template<class Implementation> 
      
 
Constants for ORing the quantities of the fluid state that have not changed since the last update. 
| Enumerator | 
|---|
| None  | 
 All quantities have been (potentially) modified.  
 | 
| Temperature  | 
 The temperature has not been modified.  
 | 
| Pressure  | 
 The pressures have not been modified.  
 | 
| Composition  | 
 The compositions have not been modified.  
 | 
 
 
template<class Implementation> 
 
 
template<class Implementation> 
template<class FluidState > 
 
Update the quantities of the parameter cache for all phases. 
- Parameters
 - 
  
    | fluidState | The representation of the thermodynamic system of interest.  | 
    | exceptQuantities | The quantities of the fluid state that have not changed since the last update.  | 
  
   
 
 
template<class Implementation> 
template<class FluidState > 
 
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.
- Parameters
 - 
  
    | fluidState | The representation of the thermodynamic system of interest.  | 
  
   
 
 
template<class Implementation> 
template<class FluidState > 
 
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.
- Parameters
 - 
  
    | fluidState | The representation of the thermodynamic system of interest.  | 
  
   
 
 
template<class Implementation> 
template<class FluidState > 
  
  
      
        
          | void Opm::ParameterCacheBase< Implementation >::updateComposition  | 
          ( | 
          const FluidState &  | 
          fluidState,  | 
         
        
           | 
           | 
          unsigned  | 
          phaseIdx  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
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()!
- Parameters
 - 
  
    | fluidState | The representation of the thermodynamic system of interest.  | 
    | phaseIdx | The index of the fluid phase of interest.  | 
  
   
 
 
template<class Implementation> 
template<class FluidState > 
 
Update all cached parameters of a specific fluid phase. 
- Parameters
 - 
  
    | fluidState | The representation of the thermodynamic system of interest.  | 
    | phaseIdx | The index of the fluid phase of interest.  | 
    | exceptQuantities | The quantities of the fluid state that have not changed since the last update.  | 
  
   
 
 
template<class Implementation> 
template<class FluidState > 
  
  
      
        
          | void Opm::ParameterCacheBase< Implementation >::updatePressure  | 
          ( | 
          const FluidState &  | 
          fluidState,  | 
         
        
           | 
           | 
          unsigned  | 
          phaseIdx  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
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()!
- Parameters
 - 
  
    | fluidState | The representation of the thermodynamic system of interest.  | 
    | phaseIdx | The index of the fluid phase of interest.  | 
  
   
 
 
template<class Implementation> 
template<class FluidState > 
  
  
      
        
          | void Opm::ParameterCacheBase< Implementation >::updateSingleMoleFraction  | 
          ( | 
          const FluidState &  | 
          fluidState,  | 
         
        
           | 
           | 
          unsigned  | 
          phaseIdx,  | 
         
        
           | 
           | 
          unsigned  | 
            | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
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()!
- Parameters
 - 
  
    | fluidState | The representation of the thermodynamic system of interest.  | 
    | phaseIdx | The index of the fluid phase of interest.  | 
    | compIdx | The component index of the component for which the mole fraction was modified in the fluid phase of interest.  | 
  
   
 
 
template<class Implementation> 
template<class FluidState > 
  
  
      
        
          | void Opm::ParameterCacheBase< Implementation >::updateTemperature  | 
          ( | 
          const FluidState &  | 
          fluidState,  | 
         
        
           | 
           | 
          unsigned  | 
          phaseIdx  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
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()!
- Parameters
 - 
  
    | fluidState | The representation of the thermodynamic system of interest.  | 
    | phaseIdx | The index of the fluid phase of interest.  | 
  
   
 
 
The documentation for this class was generated from the following file: