Velocity output for staggered free-flow models. More...
#include <dumux/discretization/staggered/freeflow/velocityoutput.hh>
Velocity output for staggered free-flow models.
Public Types | |
using | VelocityVector = typename ParentType::VelocityVector |
Public Member Functions | |
StaggeredFreeFlowVelocityOutput (const GridVariables &gridVariables, const SolutionVector &sol) | |
Constructor initializes the static data with the initial solution. More... | |
bool | enableOutput () const override |
Returns whether to enable the velocity output or not. More... | |
std::string | phaseName (int phaseIdx) const override |
returns the phase name of a given phase index More... | |
int | numFluidPhases () const override |
returns the number of phases More... | |
void | calculateVelocity (VelocityVector &velocity, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVarsCache &elemFluxVarsCache, int phaseIdx) const override |
virtual void | calculateVelocity (VelocityVector &velocity, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVarsCache &elemFluxVarsCache, int phaseIdx) const |
using Dumux::StaggeredFreeFlowVelocityOutput< GridVariables, SolutionVector >::VelocityVector = typename ParentType::VelocityVector |
|
inline |
Constructor initializes the static data with the initial solution.
gridVariables | The gridVariables |
sol | The solution vector |
|
inlinevirtualinherited |
Calculate the velocities for the scvs in the element We assume the local containers to be bound to the complete stencil
Reimplemented in Dumux::PorousMediumFlowVelocityOutput< GridVariables, FluxVariables >.
|
inlineoverride |
Calculate the velocities for the scvs in the element We assume the local containers to be bound to the complete stencil
|
inlineoverridevirtual |
Returns whether to enable the velocity output or not.
Reimplemented from Dumux::VelocityOutput< GridVariables >.
|
inlineoverridevirtual |
returns the number of phases
Reimplemented from Dumux::VelocityOutput< GridVariables >.
|
inlineoverridevirtual |
returns the phase name of a given phase index
Reimplemented from Dumux::VelocityOutput< GridVariables >.