diff --git a/amdis/VariadicGridFunctionOperator.hpp b/amdis/VariadicGridFunctionOperator.hpp index b505ded175ca605bfc9e88fc292d645930cec049..4c36432f1b30d72207192648adaef7c4fabb80b3 100644 --- a/amdis/VariadicGridFunctionOperator.hpp +++ b/amdis/VariadicGridFunctionOperator.hpp @@ -1,18 +1,18 @@ #pragma once -#include "amdis/common/ConceptsBase.hpp" -#include "amdis/gridfunctions/GridFunction.hpp" -#include "dune/common/hybridutilities.hh" #include <cassert> #include <tuple> #include <type_traits> -#include <amdis/GridFunctionOperatorTransposed.hpp> -#include <amdis/GridFunctionOperator.hpp> +#include <dune/common/hybridutilities.hh> -#include <amdis/Output.hpp> +#include <amdis/common/ConceptsBase.hpp> #include <amdis/common/Order.hpp> #include <amdis/common/TypeTraits.hpp> +#include <amdis/gridfunctions/GridFunction.hpp> +#include <amdis/GridFunctionOperatorTransposed.hpp> +#include <amdis/GridFunctionOperator.hpp> +#include <amdis/Output.hpp> #include <amdis/utility/QuadratureFactory.hpp> namespace AMDiS @@ -118,8 +118,10 @@ namespace AMDiS /// \brief Constructor. Stores a copy of `localFct` and `impl`. /** * A VariadicGridFunctionLocalOperator takes multiple LocalFunctions, an implementation class, - * the differentiation order of the operator and the LocalFunction polynomial - * degree, to calculate the quadrature degree of the operator + * the differentiation order of the operator and a user-provided polynomial degree, + * used as the degree of the LocalFunction to calculate the quadrature degree of the operator. + * Usually this should be the maximum of the degrees of the localFcts. If `localFctOrder` is `-1`, + * we try to detect the maximum polynomial degree from the local function implementations. **/ template <class... LocalFct, class Impl> VariadicGridFunctionLocalOperator(Impl&& impl, int derivDeg,