]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix Newton stepsize output
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 15 Jan 2010 12:43:44 +0000 (12:43 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 15 Jan 2010 12:43:44 +0000 (12:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@20368 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/newton.templates.h

index f43d79a543713637085dee24290a3456e74a02d5..bd433f1419680737938aa2ea6da43434dca25892 100644 (file)
@@ -137,7 +137,7 @@ namespace Algorithms
              }
            if (control.log_history())
              deallog << "Trying step size: 1/" << (1<<step_size)
-                     << " since residual was " << residual << std::endl;
+                     << " since residual was " << resnorm << std::endl;
            u.add(1./(1<<step_size), *Du);
            (*residual)(out1, src1);
            resnorm = res->l2_norm();

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.