Skip to content
Snippets Groups Projects
Commit 63af566e authored by Markus Blatt's avatar Markus Blatt
Browse files

Set the convergence flag.

[[Imported from SVN: r799]]
parent 8244c28d
No related branches found
No related tags found
No related merge requests found
......@@ -238,6 +238,7 @@ namespace Dune
a->usmv(-1, x, d);
res.reduction=d.two_norm()/def0;
res.conv_rate = res.reduction;
res.converged=(res.reduction<1e-10||d.two_norm()<1e-18);
if ( info == 0 || info == n+1 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment