Function Dune::GDT::make_generic_numerical_flux

Function template Dune::GDT::make_generic_numerical_flux

template<class I, int d, int m, class R>
GenericNumericalFlux<I, d, m, R> Dune::GDT::make_generic_numerical_flux(const XT::Functions::FluxFunctionInterface<I, m, d, m, R> &flux, typename GenericNumericalFlux<I, d, m, R>::GenericFunctionType func, const XT::Common::ParameterType &param_type = {})

Creates a GenericNumericalFlux from an x- and state-dependent flux function and a lambda expression.

Function template Dune::GDT::make_generic_numerical_flux

template<class I, int d, int m, class R>
GenericNumericalFlux<I, d, m, R> Dune::GDT::make_generic_numerical_flux(const XT::Functions::FunctionInterface<m, d, m, R> &flux, typename GenericNumericalFlux<I, d, m, R>::GenericFunctionType func, const XT::Common::ParameterType &param_type = {})

Creates a GenericNumericalFlux from a state-dependent (x-independent) flux function and a lambda expression.