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 |
enum class | FieldType { element , vertex , automatic } |
A container for possible velocity data types. More... | |
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 |
virtual FieldType | fieldType () const |
returns the field type More... | |
using Dumux::PorousMediumFlowVelocityOutput< GridVariables, FluxVariables >::VelocityVector = typename ParentType::VelocityVector |
|
stronginherited |
|
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 >.
|
inlinevirtualinherited |
returns the field type
Reimplemented in Dumux::NavierStokesVelocityOutput< 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 >.