]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix recent changes in how deallog wants its accuracy set.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 Jan 2008 17:17:35 +0000 (17:17 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 Jan 2008 17:17:35 +0000 (17:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@15671 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/no_flux_01.cc
tests/deal.II/no_flux_02.cc
tests/deal.II/no_flux_03.cc

index dc2b27f886b8413ddf5733dd63d2950c16655ef4..baf60a787525cf4b65f6c563926e3fbedcd0577d 100644 (file)
@@ -79,8 +79,8 @@ void test_hyper_cube()
 int main()
 {
   std::ofstream logfile ("no_flux_01/output");
-  logfile.precision (2);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision (2);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console (0);
   deallog.threshold_double(1.e-12);
index e3c2c45f2dd5af2de8dc1cf0c0ec055df3fae577..1f1094f3b069f96650c5ea54453a6343f6116b37 100644 (file)
@@ -83,8 +83,8 @@ void test_hyper_cube()
 int main()
 {
   std::ofstream logfile ("no_flux_02/output");
-  logfile.precision (2);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision (2);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console (0);
   deallog.threshold_double(1.e-12);
index 5780ed3972741a0bdb13fe0358be3ebf5c58defa..8769fca25a3b6cae2c6c1e993dc39d867f12d337 100644 (file)
@@ -78,8 +78,8 @@ void test_hyper_sphere()
 int main()
 {
   std::ofstream logfile ("no_flux_03/output");
-  logfile.precision (2);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision (2);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console (0);
   deallog.threshold_double(1.e-12);

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.