12#ifndef DUMUX_FREEFLOW_SHALLOW_WATER_FLUXVARIABLES_HH
13#define DUMUX_FREEFLOW_SHALLOW_WATER_FLUXVARIABLES_HH
26template<
class TypeTag>
29 typename GetPropType<TypeTag, Properties::GridGeometry>::LocalView,
30 typename GetPropType<TypeTag, Properties::GridVolumeVariables>::LocalView,
31 typename GetPropType<TypeTag, Properties::GridFluxVariablesCache>::LocalView>
40 using GridVolumeVariables =
typename GridVariables::GridVolumeVariables;
42 using FVElementGeometry =
typename GridGeometry::LocalView;
43 using GridView =
typename GridGeometry::GridView;
45 using Element =
typename GridView::template Codim<0>::Entity;
46 using ElementVolumeVariables =
typename GridVolumeVariables::LocalView;
47 using SubControlVolumeFace =
typename FVElementGeometry::SubControlVolumeFace;
49 static constexpr bool enableAdvection = ModelTraits::enableAdvection();
61 const SubControlVolumeFace& scvf)
const
66 return NumEqVector(0.0);
77 const SubControlVolumeFace& scvf)
const
Base class for the flux variables living on a sub control volume face.
Definition: fluxvariablesbase.hh:33
const GetPropType< TypeTag, Properties::GridVolumeVariables >::LocalView & elemVolVars() const
Definition: fluxvariablesbase.hh:69
const GetPropType< TypeTag, Properties::GridGeometry >::LocalView & fvGeometry() const
Definition: fluxvariablesbase.hh:66
const Element & element() const
Definition: fluxvariablesbase.hh:60
const GetPropType< TypeTag, Properties::Problem > & problem() const
Definition: fluxvariablesbase.hh:57
The flux variables class for the shallow water model.
Definition: freeflow/shallowwater/fluxvariables.hh:32
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:57
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:73
Defines all properties used in Dumux.
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:34
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:296
A helper to deduce a vector with the same size as numbers of equations.