19#ifndef DUMUX_FVMPFAVELOCITYINTRANSPORT_HH
20#define DUMUX_FVMPFAVELOCITYINTRANSPORT_HH
27#include <dune/grid/common/gridenums.hh>
40template<
class TypeTag>
47 using Intersection =
typename GridView::Intersection;
58 calcVelocityInTransport_ = getParam<bool>(
"MPFA.CalcVelocityInTransport");
68 problem_.pressureModel().calculateVelocity(intersection, cellData);
74 problem_.pressureModel().calculateVelocityOnBoundary(intersection, cellData);
80 return calcVelocityInTransport_;
89 template<
class MultiWriter>
95 bool calcVelocityInTransport_;
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
Implementation of a interface velocity class for MPFA models.
Definition: velocityintransport.hh:42
void calculateVelocity(const Intersection &intersection, CellData &cellData)
Local velocity calculation.
Definition: velocityintransport.hh:66
FvMpfaVelocityInTransport(Problem &problem)
Constructs a FvMpfaVelocityInTransport object.
Definition: velocityintransport.hh:55
void calculateVelocityOnBoundary(const Intersection &intersection, CellData &cellData)
Local velocity calculation.
Definition: velocityintransport.hh:72
bool calculateVelocityInTransport()
Indicates if velocity is reconstructed the transport step.
Definition: velocityintransport.hh:78
void addOutputVtkFields(MultiWriter &writer)
Adds velocity output to the output file.
Definition: velocityintransport.hh:90
void initialize()
For initialization.
Definition: velocityintransport.hh:62
Base file for properties related to sequential models.