24#ifndef DUMUX_PARAMETER_CACHE_BASE_HH
25#define DUMUX_PARAMETER_CACHE_BASE_HH
33template <
class Implementation>
51 template <
class Flu
idState>
54 for (
int phaseIdx = 0; phaseIdx < FluidState::numPhases; ++phaseIdx)
55 asImp_().updatePhase(fs, phaseIdx);
62 template <
class Flu
idState>
65 for (
int phaseIdx = 0; phaseIdx < FluidState::numPhases; ++phaseIdx)
66 asImp_().updatePhase(fs, phaseIdx);
73 template <
class Flu
idState>
76 for (
int phaseIdx = 0; phaseIdx < FluidState::numPhases; ++phaseIdx)
77 asImp_().updatePhase(fs, phaseIdx);
86 template <
class Flu
idState>
98 template <
class Flu
idState>
101 asImp_().updatePhase(fs, phaseIdx);
112 template <
class Flu
idState>
115 asImp_().updatePhase(fs, phaseIdx);
126 template <
class Flu
idState>
141 template <
class Flu
idState>
146 asImp_().updateComposition(fs, phaseIdx);
150 Implementation &asImp_()
151 {
return *
static_cast<Implementation*
>(
this); }
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
The base class of the parameter cache classes for fluid systems.
Definition: parametercachebase.hh:35
void updateSingleMoleFraction(const FluidState &fs, int phaseIdx, int compIdx)
Update all cached parameters of a specific fluid phase which depend on the mole fraction of a single ...
Definition: parametercachebase.hh:142
void updatePhase(const FluidState &fs, int phaseIdx, int exceptQuantities=None)
Update all cached parameters of a specific fluid phase.
Definition: parametercachebase.hh:87
void updateAll(const FluidState &fs, int exceptQuantities=None)
Update all cached quantities for all phases.
Definition: parametercachebase.hh:52
void updateAllPressures(const FluidState &fs)
Update all cached quantities which depend on the pressure of any fluid phase.
Definition: parametercachebase.hh:63
void updateComposition(const FluidState &fs, int phaseIdx)
Update all cached parameters of a specific fluid phase which depend on composition.
Definition: parametercachebase.hh:127
void updateTemperature(const FluidState &fs, int phaseIdx)
Update all cached parameters of a specific fluid phase which depend on temperature.
Definition: parametercachebase.hh:99
void updateAllTemperatures(const FluidState &fs)
Update all cached quantities which depend on the temperature of any fluid phase.
Definition: parametercachebase.hh:74
ExceptQuantities
Definition: parametercachebase.hh:37
@ Composition
Definition: parametercachebase.hh:41
@ Pressure
Definition: parametercachebase.hh:40
@ Temperature
Definition: parametercachebase.hh:39
@ None
Definition: parametercachebase.hh:38
void updatePressure(const FluidState &fs, int phaseIdx)
Update all cached parameters of a specific fluid phase which depend on pressure.
Definition: parametercachebase.hh:113