Velocity output policy for implicit (porous media) models. More...
#include <dumux/porousmediumflow/velocityoutput.hh>
Velocity output policy for implicit (porous media) models.
Public Types | |
using | VelocityVector = typename ParentType::VelocityVector |
Public Member Functions | |
PorousMediumFlowVelocityOutput (const GridVariables &gridVariables) | |
Constructor initializes the static data with the initial solution. More... | |
bool | enableOutput () const override |
Returns whether or not velocity output is enabled. 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 |
using Dumux::PorousMediumFlowVelocityOutput< GridVariables, FluxVariables >::VelocityVector = typename ParentType::VelocityVector |
|
inline |
Constructor initializes the static data with the initial solution.
gridVariables | The grid variables |
|
inlineoverridevirtual |
Calculates the velocities for the scvs in the element. We assume the local containers to be bound to the complete stencil.
Reimplemented from Dumux::VelocityOutput< GridVariables >.
|
inlineoverridevirtual |
Returns whether or not velocity output is enabled.
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 >.