diff --git a/dune/solvers/iterationsteps/lineariterationstep.hh b/dune/solvers/iterationsteps/lineariterationstep.hh index 5791782d7dd1f932391c1e6ebeac27b3c57384d3..41a8ea4537fe9c75443c993c71cb373c49e9b05a 100644 --- a/dune/solvers/iterationsteps/lineariterationstep.hh +++ b/dune/solvers/iterationsteps/lineariterationstep.hh @@ -10,11 +10,12 @@ #include <dune/common/shared_ptr.hh> #include <dune/solvers/common/preconditioner.hh> +#include <dune/solvers/common/defaultbitvector.hh> #include "iterationstep.hh" //! Base class for iteration steps being called by an iterative linear solver -template<class MatrixType, class VectorType, class BitVectorType = Dune::BitSetVector<VectorType::block_type::dimension> > +template<class MatrixType, class VectorType, class BitVectorType = Dune::Solvers::DefaultBitVector_t<VectorType> > class LinearIterationStep : public IterationStep<VectorType, BitVectorType>, public Dune::Solvers::Preconditioner<MatrixType, VectorType, diff --git a/dune/solvers/solvers/loopsolver.hh b/dune/solvers/solvers/loopsolver.hh index 57e28cd8dfdf6bbe6dd2f4dc5ad3d95cd6f51708..b81b08a3d03400824b0954f6327b9ff7c5f28d9a 100644 --- a/dune/solvers/solvers/loopsolver.hh +++ b/dune/solvers/solvers/loopsolver.hh @@ -7,7 +7,7 @@ #include <dune/solvers/iterationsteps/iterationstep.hh> #include <dune/solvers/norms/norm.hh> #include <dune/solvers/solvers/criterion.hh> - +#include <dune/solvers/common/defaultbitvector.hh> /** \brief A solver which consists of a single loop @@ -15,7 +15,7 @@ * This class basically implements a loop that calls an iteration procedure * (which is to be supplied by the user). It also monitors convergence. */ -template <class VectorType, class BitVectorType = Dune::BitSetVector<VectorType::block_type::dimension> > +template <class VectorType, class BitVectorType = Dune::Solvers::DefaultBitVector_t<VectorType> > class LoopSolver : public IterativeSolver<VectorType, BitVectorType> { typedef typename VectorType::field_type field_type;