27#ifndef DUMUX_DISCRETIZATION_STATIONARY_VELOCITY_FIELD_HH
28#define DUMUX_DISCRETIZATION_STATIONARY_VELOCITY_FIELD_HH
42template <
class Scalar>
53 template<
class Problem,
class Element,
54 class FVElementGeometry,
55 class ElementVolumeVariables,
56 class ElementFluxVarsCache>
57 static Scalar
flux(
const Problem& problem,
58 const Element& element,
59 const FVElementGeometry& fvGeometry,
60 const ElementVolumeVariables& elemVolVars,
61 const typename FVElementGeometry::SubControlVolumeFace& scvf,
63 const ElementFluxVarsCache& elemFluxVarsCache)
66 return problem.spatialParams().volumeFlux(element, fvGeometry, elemVolVars, scvf);
73:
public std::true_type {};
The available discretization methods in Dumux.
Classes related to flux variables caching.
DiscretizationMethod
The available discretization methods in Dumux.
Definition: method.hh:37
Empty caches to use in a constitutive flux law/process, e.g. Darcy's law.
Definition: fluxvariablescaching.hh:63
Evaluates a user given velocity field.
Definition: stationaryvelocityfield.hh:44
static Scalar flux(const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const typename FVElementGeometry::SubControlVolumeFace &scvf, int phaseIdx, const ElementFluxVarsCache &elemFluxVarsCache)
returns the volume flux given in the spatial params
Definition: stationaryvelocityfield.hh:57
static const DiscretizationMethod discMethod
state the discretization method this implementation belongs to
Definition: stationaryvelocityfield.hh:47
Trait of an advection type stating whether it implements a stationary velocity field.
Definition: flux/traits.hh:36