From cb40ed6ac0ab0531f87fa32c229b3beeb1ac0598 Mon Sep 17 00:00:00 2001 From: Linus Seelinger <S.Linus@gmx.de> Date: Fri, 1 Jul 2016 17:09:28 +0200 Subject: [PATCH] [dynamic polymorphism] Add dynamic category to SuperLU --- dune/istl/superlu.hh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dune/istl/superlu.hh b/dune/istl/superlu.hh index f18c35aeb..5c1ef7c65 100644 --- a/dune/istl/superlu.hh +++ b/dune/istl/superlu.hh @@ -283,6 +283,13 @@ namespace Dune typedef Dune::BlockVector< FieldVector<T,n>, typename A::template rebind<FieldVector<T,n> >::other> range_type; + + //! Category of the solver (see SolverCategory::Category) + virtual SolverCategory::Category category() const + { + return SolverCategory::Category::sequential; + } + /** * @brief Constructs the SuperLU solver. * -- GitLab