Commit 5f6c2d39 authored by Backofen, Rainer's avatar Backofen, Rainer

set number of iterations in adaptInfo according to mtl-solver.

    ProblemScal.cc
    ProblemVec.cc
    ProblemNonLin.cc
parent f16957c9
......@@ -78,7 +78,7 @@ namespace AMDiS {
#if 0
TEST_EXIT(nonLinSolver_)("no non-linear solver!\n");
int iter = nonLinSolver_->solve(matVec, solution, rhs, leftPrecon, rightPrecon);
adaptInfo->setSolverIterations(iter);
adaptInfo->setSolverIterations(solver->getIterations());
#endif
}
......
......@@ -238,7 +238,7 @@ namespace AMDiS {
TIME_USED(first, clock()));
#endif
adaptInfo->setSolverIterations(iter);
adaptInfo->setSolverIterations(solver->getIterations());
adaptInfo->setMaxSolverIterations(solver->getMaxIterations());
adaptInfo->setSolverTolerance(solver->getTolerance());
adaptInfo->setSolverResidual(solver->getResidual());
......
......@@ -497,7 +497,7 @@ namespace AMDiS {
TIME_USED(first, clock()));
#endif
adaptInfo->setSolverIterations(iter);
adaptInfo->setSolverIterations(solver->getIterations());
adaptInfo->setMaxSolverIterations(solver->getMaxIterations());
adaptInfo->setSolverTolerance(solver->getTolerance());
adaptInfo->setSolverResidual(solver->getResidual());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment