15#ifndef DUMUX_DISCRETIZATION_STATIONARY_VELOCITY_FIELD_HH
16#define DUMUX_DISCRETIZATION_STATIONARY_VELOCITY_FIELD_HH
30template <
class Scalar>
42 template<
class Problem,
class Element,
43 class FVElementGeometry,
44 class ElementVolumeVariables,
45 class ElementFluxVarsCache>
46 static Scalar
flux(
const Problem& problem,
47 const Element& element,
48 const FVElementGeometry& fvGeometry,
49 const ElementVolumeVariables& elemVolVars,
50 const typename FVElementGeometry::SubControlVolumeFace& scvf,
52 const ElementFluxVarsCache& elemFluxVarsCache)
55 return problem.spatialParams().volumeFlux(element, fvGeometry, elemVolVars, scvf);
62:
public std::true_type {};
Evaluates a user given velocity field.
Definition: stationaryvelocityfield.hh:32
static constexpr DiscretizationMethod discMethod
state the discretization method this implementation belongs to
Definition: stationaryvelocityfield.hh:36
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:46
Classes related to flux variables caching.
The available discretization methods in Dumux.
Definition: method.hh:140
Empty caches to use in a constitutive flux law/process, e.g. Darcy's law.
Definition: fluxvariablescaching.hh:54
Trait of an advection type stating whether it implements a stationary velocity field.
Definition: flux/traits.hh:24