24#ifndef DUMUX_FREEFLOW_SHALLOW_WATER_FLUXVARIABLES_HH
25#define DUMUX_FREEFLOW_SHALLOW_WATER_FLUXVARIABLES_HH
38template<
class TypeTag>
41 typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView,
42 typename GetPropType<TypeTag, Properties::GridVolumeVariables>::LocalView,
43 typename GetPropType<TypeTag, Properties::GridFluxVariablesCache>::LocalView>
52 using GridVolumeVariables =
typename GridVariables::GridVolumeVariables;
54 using FVElementGeometry =
typename GridGeometry::LocalView;
55 using GridView =
typename GridGeometry::GridView;
57 using Element =
typename GridView::template Codim<0>::Entity;
58 using ElementVolumeVariables =
typename GridVolumeVariables::LocalView;
59 using SubControlVolumeFace =
typename FVElementGeometry::SubControlVolumeFace;
61 static constexpr bool enableAdvection = ModelTraits::enableAdvection();
73 const SubControlVolumeFace& scvf)
const
78 return NumEqVector(0.0);
89 const SubControlVolumeFace& scvf)
const
A helper to deduce a vector with the same size as numbers of equations.
Base class for the flux variables living on a sub control volume face.
typename NumEqVectorTraits< PrimaryVariables >::type NumEqVector
A vector with the same size as numbers of equations This is the default implementation and has to be ...
Definition: numeqvector.hh:46
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:150
Base class for the flux variables living on a sub control volume face.
Definition: fluxvariablesbase.hh:45
const GetPropType< TypeTag, Properties::GridVolumeVariables >::LocalView & elemVolVars() const
Definition: fluxvariablesbase.hh:81
const GetPropType< TypeTag, Properties::GridGeometry >::LocalView & fvGeometry() const
Definition: fluxvariablesbase.hh:78
const Element & element() const
Definition: fluxvariablesbase.hh:72
const GetPropType< TypeTag, Properties::Problem > & problem() const
Definition: fluxvariablesbase.hh:69
The flux variables class for the shallow water model.
Definition: freeflow/shallowwater/fluxvariables.hh:44
NumEqVector advectiveFlux(const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf) const
Returns the advective flux computed by the Riemann solver.
Definition: freeflow/shallowwater/fluxvariables.hh:69
NumEqVector viscousFlux(const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf) const
Returns the viscous momentum flux.
Definition: freeflow/shallowwater/fluxvariables.hh:85
Declares all properties used in Dumux.