]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Log-Output in SolverControl
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 10 Sep 1998 16:10:08 +0000 (16:10 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 10 Sep 1998 16:10:08 +0000 (16:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@603 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/solver_control.cc

index 26e9dba996288d3c7745288b168ff0c0fc41aeb1..603313e4f0e8ae5495027f82d7db03b5c9eabcfc 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 
-
+#include <base/logstream.h>
 #include <lac/solver_control.h>
 
 
@@ -20,7 +20,10 @@ SolverControl::SolverControl (const unsigned int maxiter,
 
 SolverControl::State
 SolverControl::check (const unsigned int step,
-                     const double check_value) {
+                     const double check_value)
+{
+  deallog << "Check " << step << "\t" << check_value << endl;
+  
   lstep  = step;
   lvalue = check_value;
   if (step>=maxsteps) return failure;

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.