Commit 74b4d9c3 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

removed tolerance from SolverInfo

parent eae5d2d1
......@@ -397,7 +397,7 @@ solve(AdaptInfo& adaptInfo, bool createMatrixData, bool storeMatrixData)
}
}
test_exit(!solverInfo.doBreak() || !solverInfo.error(), "Could not solver the linear system!");
test_exit(!solverInfo.doBreak() && !solverInfo.error(), "Could not solver the linear system!");
}
......
......@@ -66,9 +66,7 @@ namespace AMDiS
bool doBreak() const
{
return breakTolNotReached_ && (
(aTol_ > 1.e-30 && absResidual_ > aTol_) ||
(rTol_ > 1.e-30 && relResidual_ > rTol_) );
return breakTolNotReached_;
}
/** \} */
......@@ -78,13 +76,13 @@ namespace AMDiS
* \{
*/
/// Sets \ref aTol_
/// Sets \ref absResidual_
void setAbsResidual(double r)
{
absResidual_ = r;
}
/// Sets \ref rTol_
/// Sets \ref relResidual_
void setRelResidual(double r)
{
relResidual_ = r;
......
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