27#ifndef DUMUX_DISCRETIZATION_STATIONARY_VELOCITY_FIELD_HH
28#define DUMUX_DISCRETIZATION_STATIONARY_VELOCITY_FIELD_HH
39template <
class Scalar>
50 template<
class Problem,
class Element,
51 class FVElementGeometry,
52 class ElementVolumeVariables,
53 class ElementFluxVarsCache>
54 static Scalar
flux(
const Problem& problem,
55 const Element& element,
56 const FVElementGeometry& fvGeometry,
57 const ElementVolumeVariables& elemVolVars,
58 const typename FVElementGeometry::SubControlVolumeFace& scvf,
60 const ElementFluxVarsCache& elemFluxVarsCache)
63 return problem.spatialParams().volumeFlux(element, fvGeometry, elemVolVars, scvf);
The available discretization methods in Dumux.
Classes related to flux variables caching.
DiscretizationMethod
The available discretization methods in Dumux.
Definition method.hh:37
@ none
Definition method.hh:38
make the local view function available whenever we use the grid geometry
Definition adapt.hh:29
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:41
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:54
FluxVariablesCaching::EmptyAdvectionCache Cache
state the type for the corresponding cache
Definition stationaryvelocityfield.hh:47
static const DiscretizationMethod discMethod
Definition stationaryvelocityfield.hh:44