]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
new LogStream and GrowingVectorMemory semantics
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Feb 2008 17:05:44 +0000 (17:05 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Feb 2008 17:05:44 +0000 (17:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@15720 0785d39b-7218-0410-832d-ea1e28bc413d

tests/lapack/solver_cg.cc
tests/lapack/solver_cg/cmp/generic

index 90a6bf3f8c04d931c0cf20492ae6cd569458376e..f05e44c826a13f6a568456ef28e33a53e942f3d5 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2006 by the deal.II authors
+//    Copyright (C) 2006, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -66,7 +66,7 @@ int main()
 {
   std::ofstream logfile("solver_cg/output");
 //  logfile.setf(std::ios::fixed);
-  logfile.precision(4);
+  deallog << std::setprecision(4);
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 3b3e723875b3c0c761caa322f8180d95dc6aacc1..343ef8235c32fbcf3764b6b586832aca1ab0ddef 100644 (file)
@@ -71,5 +71,3 @@ DEAL:ssor:cg::Condition number estimate: 5.715
 DEAL:ssor:cg::Condition number estimate: 5.718
 DEAL:ssor:cg::Convergence step 8 value 0.0005816
 DEAL:ssor:cg:: 0.1457 0.3791 0.4599 0.5650 0.6652 0.7548 0.8330
-DEAL::GrowingVectorMemory:Overall allocated vectors: 32
-DEAL::GrowingVectorMemory:Maximum allocated vectors: 4

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.