Velocity output policy for implicit (porous media) models.
#include <dumux/porousmediumflow/velocityoutput.hh>
|
| | PorousMediumFlowVelocityOutput (const GridVariables &gridVariables) |
| | Constructor initializes the static data with the initial solution.
|
| |
| bool | enableOutput () const override |
| | Returns whether or not velocity output is enabled.
|
| |
| std::string | phaseName (int phaseIdx) const override |
| | Returns the phase name of a given phase index.
|
| |
| int | numFluidPhases () const override |
| | Returns the number of phases.
|
| |
| 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
|
| |
| virtual void | calculateVelocity (VelocityVector &velocity, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVarsCache &elemFluxVarsCache, int phaseIdx) const |
| |
◆ VelocityVector
template<class GridVariables, class FluxVariables>
◆ FieldType
template<class GridVariables>
| Enumerator |
|---|
| element | |
| vertex | |
| automatic | |
◆ PorousMediumFlowVelocityOutput()
template<class GridVariables, class FluxVariables>
- Parameters
-
| gridVariables | The grid variables |
◆ calculateVelocity() [1/2]
template<class GridVariables, class FluxVariables>
| void Dumux::PorousMediumFlowVelocityOutput< GridVariables, FluxVariables >::calculateVelocity |
( |
VelocityVector & | velocity, |
|
|
const Element & | element, |
|
|
const FVElementGeometry & | fvGeometry, |
|
|
const ElementVolumeVariables & | elemVolVars, |
|
|
const ElementFluxVarsCache & | elemFluxVarsCache, |
|
|
int | phaseIdx ) const |
|
inlineoverride |
Calculates the velocities for the scvs in the element. We assume the local containers to be bound to the complete stencil.
◆ calculateVelocity() [2/2]
template<class GridVariables>
| virtual void Dumux::VelocityOutput< GridVariables >::calculateVelocity |
( |
VelocityVector & | velocity, |
|
|
const Element & | element, |
|
|
const FVElementGeometry & | fvGeometry, |
|
|
const ElementVolumeVariables & | elemVolVars, |
|
|
const ElementFluxVarsCache & | elemFluxVarsCache, |
|
|
int | phaseIdx ) const |
|
inlinevirtualinherited |
Calculate the velocities for the scvs in the element We assume the local containers to be bound to the complete stencil
◆ enableOutput()
template<class GridVariables, class FluxVariables>
◆ fieldType()
template<class GridVariables>
◆ numFluidPhases()
template<class GridVariables, class FluxVariables>
◆ phaseName()
template<class GridVariables, class FluxVariables>
The documentation for this class was generated from the following file: