24#ifndef DUMUX_EVALCFLFLUX_HH
25#define DUMUX_EVALCFLFLUX_HH
50template<
class TypeTag>
56 using Intersection =
typename GridView::Intersection;
57 using Element =
typename GridView::Traits::template Codim<0>::Entity;
76 void addFlux(Scalar& lambdaW, Scalar& lambdaNw, Scalar& viscosityW, Scalar& viscosityNw, Scalar flux,
77 const Intersection& intersection,
int phaseIdx)
91 void addFlux(Scalar& lambdaW, Scalar& lambdaNw, Scalar& viscosityW, Scalar& viscosityNw, Scalar flux,
92 const Element& element,
int phaseIdx)
112 Scalar
getDt(
const Element& element)
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
Base class for implementations of different kinds of fluxes to evaluate a CFL-Condition.
Definition: evalcflflux.hh:52
void reset()
reset function
Definition: evalcflflux.hh:118
Scalar getDt(const Element &element)
Returns the CFL time-step.
Definition: evalcflflux.hh:112
void initialize()
For initialization.
Definition: evalcflflux.hh:62
void addFlux(Scalar &lambdaW, Scalar &lambdaNw, Scalar &viscosityW, Scalar &viscosityNw, Scalar flux, const Element &element, int phaseIdx)
adds a flux to the cfl-criterion evaluation
Definition: evalcflflux.hh:91
EvalCflFlux()
Constructs a EvalCflFlux instance.
Definition: evalcflflux.hh:122
void addFlux(Scalar &lambdaW, Scalar &lambdaNw, Scalar &viscosityW, Scalar &viscosityNw, Scalar flux, const Intersection &intersection, int phaseIdx)
adds a flux to the cfl-criterion evaluation
Definition: evalcflflux.hh:76
Scalar getCflFluxFunction(const Element &element)
Returns the CFL flux-function.
Definition: evalcflflux.hh:101
Defines the properties required for (immiscible) two-phase sequential models.