This class stores the velocities which are used to compute Reynolds numbers for the source terms of non-equilibrium models.
#include <dumux/porousmediumflow/nonequilibrium/gridvariables.hh>
Public Types | |
| using | GridGeometry |
| export type of the finite volume grid geometry | |
| using | GridVolumeVariables |
| export type of the finite volume grid geometry | |
| using | VolumeVariables |
| export type of the volume variables | |
| using | PrimaryVariables |
| export primary variable type | |
| using | Scalar |
| export scalar type (TODO get it directly from the volvars) | |
| using | GridFluxVariablesCache |
| export type of the finite volume grid geometry | |
Public Member Functions | |
| template<class Problem> | |
| NonEquilibriumGridVariables (std::shared_ptr< Problem > problem, std::shared_ptr< const GridGeometry > gridGeometry) | |
| Constructor. | |
| template<class SolutionVector> | |
| void | calcVelocityAverage (const SolutionVector &curSol) |
| const Scalar | volumeDarcyMagVelocity (const unsigned int phaseIdx, const unsigned int dofIdxGlobal) const |
| Access to the averaged (magnitude of) velocity for each vertex. | |
| void | init (const SolutionVector &curSol) |
| initialize all variables (stationary case) | |
| void | init (const SolutionVector &curSol) |
| initialize all variables (stationary case) | |
| void | update (const SolutionVector &curSol, bool forceFluxCacheUpdate=false) |
| update all variables | |
| void | update (const SolutionVector &curSol, bool forceFluxCacheUpdate=false) |
| update all variables | |
| void | updateAfterGridAdaption (const SolutionVector &curSol) |
| update all variables after grid adaption | |
| void | updateAfterGridAdaption (const SolutionVector &curSol) |
| update all variables after grid adaption | |
| void | advanceTimeStep () |
| Sets the current state as the previous for next time step. | |
| void | advanceTimeStep () |
| Sets the current state as the previous for next time step. | |
| void | resetTimeStep (const SolutionVector &solution) |
| resets state to the one before time integration | |
| void | resetTimeStep (const SolutionVector &solution) |
| resets state to the one before time integration | |
| const GridFluxVariablesCache & | gridFluxVarsCache () const |
| return the flux variables cache | |
| GridFluxVariablesCache & | gridFluxVarsCache () |
| return the flux variables cache | |
| const GridFluxVariablesCache & | gridFluxVarsCache () const |
| return the flux variables cache | |
| GridFluxVariablesCache & | gridFluxVarsCache () |
| return the flux variables cache | |
| const GridVolumeVariables & | curGridVolVars () const |
| return the current volume variables | |
| GridVolumeVariables & | curGridVolVars () |
| return the current volume variables | |
| const GridVolumeVariables & | curGridVolVars () const |
| return the current volume variables | |
| GridVolumeVariables & | curGridVolVars () |
| return the current volume variables | |
| const GridVolumeVariables & | prevGridVolVars () const |
| return the volume variables of the previous time step (for instationary problems) | |
| GridVolumeVariables & | prevGridVolVars () |
| return the volume variables of the previous time step (for instationary problems) | |
| const GridVolumeVariables & | prevGridVolVars () const |
| return the volume variables of the previous time step (for instationary problems) | |
| GridVolumeVariables & | prevGridVolVars () |
| return the volume variables of the previous time step (for instationary problems) | |
| const GridGeometry & | gridGeometry () const |
| return the finite volume grid geometry | |
| const GridGeometry & | gridGeometry () const |
| return the finite volume grid geometry | |
Protected Attributes | |
| std::shared_ptr< const GridGeometry > | gridGeometry_ |
| pointer to the constant grid geometry | |
| std::shared_ptr< const GridGeometry > | gridGeometry_ |
| pointer to the constant grid geometry | |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
| phaseIdx | The index of the fluid phase |
| dofIdxGlobal | The global index of the degree of freedom |
|
protectedinherited |
|
protectedinherited |