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