*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit a66cc335 authored by Streitberger, Julian's avatar Streitberger, Julian
Browse files

Update the stopping criterion

parent 38ef420c
Branches
Tags
No related merge requests found
...@@ -45,7 +45,8 @@ classdef MGSolver < IterativeSolver ...@@ -45,7 +45,8 @@ classdef MGSolver < IterativeSolver
% stopping criterion % stopping criterion
function tf = isConverged(obj) function tf = isConverged(obj)
tf = ((obj.iterationCount >= obj.maxIter) ... tf = ((obj.iterationCount >= obj.maxIter) ...
| (sqrt(obj.residualCNorm)./obj.normb < obj.tol)); | (sqrt(obj.residualCNorm) < obj.tol) ...
| (sqrt(obj.residualCNorm)./obj.normb < obj.tol));
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment