27#ifndef DUMUX_DISCRETIZATION_STATIONARY_VELOCITY_FIELD_HH
28#define DUMUX_DISCRETIZATION_STATIONARY_VELOCITY_FIELD_HH
42template <
class Scalar>
54 template<
class Problem,
class Element,
55 class FVElementGeometry,
56 class ElementVolumeVariables,
57 class ElementFluxVarsCache>
58 static Scalar
flux(
const Problem& problem,
59 const Element& element,
60 const FVElementGeometry& fvGeometry,
61 const ElementVolumeVariables& elemVolVars,
62 const typename FVElementGeometry::SubControlVolumeFace& scvf,
64 const ElementFluxVarsCache& elemFluxVarsCache)
67 return problem.spatialParams().volumeFlux(element, fvGeometry, elemVolVars, scvf);
74:
public std::true_type {};
The available discretization methods in Dumux.
Classes related to flux variables caching.
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
Definition: method.hh:129
Empty caches to use in a constitutive flux law/process, e.g. Darcy's law.
Definition: fluxvariablescaching.hh:66
Evaluates a user given velocity field.
Definition: stationaryvelocityfield.hh:44
static constexpr DiscretizationMethod discMethod
state the discretization method this implementation belongs to
Definition: stationaryvelocityfield.hh:48
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:58
Trait of an advection type stating whether it implements a stationary velocity field.
Definition: flux/traits.hh:36