Function Dune::GDT::make_generic_numerical_flux

template<class I, size_t d, size_t 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.

template<class I, size_t d, size_t 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.