Skip to content
Snippets Groups Projects
Commit b4094424 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Move into namespace Dune::Solvers

parent 3826ae18
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
#include <dune/solvers/solvers/solver.hh>
template <class VectorType, class BitVectorType>
void ::LoopSolver<VectorType, BitVectorType>::check() const
void Dune::Solvers::LoopSolver<VectorType, BitVectorType>::check() const
{
if (!iterationStep_)
DUNE_THROW(SolverError, "You need to supply an iteration step to an iterative solver!");
......@@ -20,13 +20,13 @@ void ::LoopSolver<VectorType, BitVectorType>::check() const
}
template <class VectorType, class BitVectorType>
void LoopSolver<VectorType, BitVectorType>::preprocess()
void Dune::Solvers::LoopSolver<VectorType, BitVectorType>::preprocess()
{
this->iterationStep_->preprocess();
}
template <class VectorType, class BitVectorType>
void LoopSolver<VectorType, BitVectorType>::solve()
void Dune::Solvers::LoopSolver<VectorType, BitVectorType>::solve()
{
int i;
......
......@@ -7,6 +7,10 @@
#include <dune/solvers/iterationsteps/iterationstep.hh>
#include <dune/solvers/norms/norm.hh>
namespace Dune {
namespace Solvers {
/** \brief A solver which consists of a single loop
*
* This class basically implements a loop that calls an iteration procedure
......@@ -58,6 +62,10 @@ public:
};
}
}
#include "loopsolver.cc"
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment