Function Dune::GDT::make_advection_dg_operator

Function template Dune::GDT::make_advection_dg_operator

template<class AGV, size_t m, class F, class RGV, class SGV>
auto Dune::GDT::make_advection_dg_operator(const AGV &assembly_grid_view, const NumericalFluxInterface<XT::Grid::extract_intersection_t<AGV>, AGV::dimension, m, F> &numerical_flux, const SpaceInterface<SGV, m, 1, F> &source_space, const SpaceInterface<RGV, m, 1, F> &range_space, const XT::Grid::IntersectionFilter<AGV> &periodicity_exception = XT::Grid::ApplyOn::NoIntersections<AGV>(), const double &artificial_viscosity_nu_1 = advection_dg_artificial_viscosity_default_nu_1(), const double &artificial_viscosity_alpha_1 = advection_dg_artificial_viscosity_default_alpha_1(), const size_t artificial_viscosity_component = advection_dg_artificial_viscosity_default_component(), const std::string &logging_prefix = "", const std::array<bool, 3> &logging_state = XT::Common::default_logger_state())

Creates an AdvectionDgOperator using the default ISTL sparse matrix type.

Function template Dune::GDT::make_advection_dg_operator

template<class MatrixType, class AGV, size_t m, class F, class RGV, class SGV>
auto Dune::GDT::make_advection_dg_operator(const AGV &assembly_grid_view, const NumericalFluxInterface<XT::Grid::extract_intersection_t<AGV>, AGV::dimension, m, F> &numerical_flux, const SpaceInterface<SGV, m, 1, F> &source_space, const SpaceInterface<RGV, m, 1, F> &range_space, const XT::Grid::IntersectionFilter<AGV> &periodicity_exception = XT::Grid::ApplyOn::NoIntersections<AGV>(), const double &artificial_viscosity_nu_1 = advection_dg_artificial_viscosity_default_nu_1(), const double &artificial_viscosity_alpha_1 = advection_dg_artificial_viscosity_default_alpha_1(), const size_t artificial_viscosity_component = advection_dg_artificial_viscosity_default_component(), const std::string &logging_prefix = "", const std::array<bool, 3> &logging_state = XT::Common::default_logger_state())

Creates an AdvectionDgOperator with the matrix type specified manually as first template argument.