]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
adjust to new Logstream
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Feb 2008 23:16:23 +0000 (23:16 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Feb 2008 23:16:23 +0000 (23:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@15714 0785d39b-7218-0410-832d-ea1e28bc413d

44 files changed:
tests/fe/abf_01.cc
tests/fe/check_derivatives.cc
tests/fe/copy_01.cc
tests/fe/deformed_projection.h
tests/fe/derivatives.cc
tests/fe/derivatives_face.cc
tests/fe/dgp_monomial_1.cc
tests/fe/dgp_monomial_2.cc
tests/fe/dgq_1.cc
tests/fe/injection_common.h
tests/fe/mapping.cc
tests/fe/mapping_c1.cc
tests/fe/mapping_q1_eulerian.cc
tests/fe/mapping_q_eulerian.cc
tests/fe/nedelec.cc
tests/fe/nedelec_2.cc
tests/fe/nedelec_3.cc
tests/fe/numbering.cc
tests/fe/q_1.cc
tests/fe/q_2.cc
tests/fe/q_3.cc
tests/fe/q_4.cc
tests/fe/rt_1.cc
tests/fe/rt_10.cc
tests/fe/rt_11.cc
tests/fe/rt_12.cc
tests/fe/rt_13.cc
tests/fe/rt_14.cc
tests/fe/rt_15.cc
tests/fe/rt_2.cc
tests/fe/rt_3.cc
tests/fe/rt_5.cc
tests/fe/rt_7.cc
tests/fe/rt_8.cc
tests/fe/rt_9.cc
tests/fe/rt_approximation_01.cc
tests/fe/rt_normal_02.cc
tests/fe/rtn_2.cc
tests/fe/rtn_3.cc
tests/fe/shapes.cc
tests/fe/system_1.cc
tests/fe/system_index.cc
tests/fe/transfer.cc
tests/fe/up_and_down.cc

index 2e132d096fe20133b517c32662f87b8df09644e5..e8026c75461ddfe720ff5f1d7d9ac36213ec4583 100644 (file)
@@ -2,7 +2,7 @@
 //    abf_01.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003, 2005, 2006 by the deal.II authors
+//    Copyright (C) 2003, 2005, 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
@@ -582,8 +582,10 @@ int create_alternate_unitsquare (Triangulation<2> &tria)
 int main (int /*argc*/, char **/*argv*/)
 {
   std::ofstream logfile ("abf_01/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
+  logfile << std::setprecision(PRECISION);
+  logfile << std::fixed;
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 33e61614f1db293c08257e55b4c73419bc9a7b56..bbf3b704ce0a60e538277854b702bb830e4b00da 100644 (file)
@@ -125,8 +125,8 @@ int
 main()
 {
   std::ofstream logfile ("check_derivatives/output");
-  logfile.precision (2);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(2);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
 
index d81668884071255b2429ad6d52f0adfe0c3ca73d..e5966f49bd9730f0b4256d99a75eee8c0d80df3b 100644 (file)
@@ -44,8 +44,8 @@ int
 main()
 {
   std::ofstream logfile ("copy_01/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 5b7ffa7228e1d241e658d20b891ee1ff2125eb8b..e32e880c8fd34dab8c836a5fac054928c8249d9b 100644 (file)
@@ -2,7 +2,7 @@
 //    deformed_projection.h,v 1.3 2003/06/09 16:00:38 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003, 2005, 2006, 2007 by the deal.II authors
+//    Copyright (C) 2003, 2005, 2006, 2007, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -685,6 +685,8 @@ int main (int /*argc*/, char **/*argv*/)
   std::ofstream logfile (logname);
   logfile.precision (PRECISION);
   logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index f07994543597c6a26d315561f5e1c7392cc591b8..b6fc168e702bf475b0fec8a8547072dd652b4bbe 100644 (file)
@@ -133,8 +133,8 @@ int
 main()
 {
   std::ofstream logfile ("derivatives/output");
-  logfile.precision (2);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(2);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   
index abd3f02b9c104ee815e4d77c36104bd83bb27359..5237ca2594b005efc492256bdebf8425121fe6e6 100644 (file)
@@ -95,8 +95,8 @@ int
 main()
 {
   std::ofstream logfile ("derivatives_face/output");
-  logfile.precision (2);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(2);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   
index 3e19b73569cd309c1de0cdaf5bcfd173f08260d4..9e295aa94e0e2d52dd05af885ee2b0540dc849ea 100644 (file)
@@ -59,8 +59,8 @@ int
 main()
 {
   std::ofstream logfile ("dgp_monomial_1/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 459c399d487c9aa513471dbc0056a98bf7bb45af..d9448d9b65b1f7865ad97e00759b920bf1c2a9e2 100644 (file)
@@ -61,8 +61,8 @@ int
 main()
 {
   std::ofstream logfile ("dgp_monomial_2/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 256b1ea15ca1b6d1fd4c10a258233301d6e3d7f8..d3b8d9bfc384a814f5df7fca7a29723307893f19 100644 (file)
@@ -61,8 +61,8 @@ int
 main()
 {
   std::ofstream logfile ("dgq_1/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index cc6d8eaa9f10b937f9ad58412e4ced74692efbaa..935ba2c6809f0b9ab1af64af9c3a26a285c147dc 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id: injection_common.cc 12732 2006-03-28 23:15:45Z wolf $
 //    Version: $Name$ 
 //
-//    Copyright (C) 2006, 2007 by the deal.II authors
+//    Copyright (C) 2006, 2007, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -116,7 +116,7 @@ void do_check (const FiniteElement<dim> &coarse_fe,
 int main ()
 {
   std::ofstream logfile(logname);
-  logfile.precision (3);
+  deallog << std::setprecision (3);
   
   deallog.attach(logfile);
   deallog.depth_console(0);
index 0d4eab5607a674da8b4c4a33d67d44d800b5f21e..2182e50d45f886956f68484bd9d5f3170bf9a2c7 100644 (file)
@@ -1,5 +1,5 @@
 // mapping.cc,v 1.19 2004/01/30 09:56:19 hartmann Exp
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Ralf Hartmann
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2008 Ralf Hartmann
 //
 // Shows the shape functions implemented and computes the area of cells.
 
@@ -21,8 +21,8 @@
 #include <fe/fe.h>
 #include <vector>
 #include <fstream>
+#include <iomanip>
 #include <string>
-
 #include <sstream>
 
 #define PRECISION 2
@@ -556,7 +556,7 @@ void mapping_test()
 int main()
 {
   std::ofstream logfile ("mapping/output");
-  logfile.precision (PRECISION);
+  deallog << std::setprecision(PRECISION);
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index a5a4146913b68be48bca0fac7133a6d5df220dc8..6a62ac787de3a42158e2a22412cf4f90bef48cde 100644 (file)
@@ -1,5 +1,5 @@
 // mapping_c1.cc,v 1.5 2003/04/09 15:49:55 wolf Exp
-// Copyright (C) 2001, 2003, 2005 Wolfgang Bangerth
+// Copyright (C) 2001, 2003, 2005, 2008 Wolfgang Bangerth
 //
 // Test the continuity of normal vectors at vertices, and thus the
 // C1-ness of the C1-mapping
 
 #include <algorithm>
 #include <fstream>
+#include <iomanip>
 
 #define PRECISION 2
 
 int main ()
 {
   std::ofstream logfile ("mapping_c1/output");
-  logfile.setf(std::ios::fixed);  
-  logfile.precision (PRECISION);
+  deallog << std::fixed;  
+  deallog << std::setprecision(PRECISION) << std::fixed;
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index f36fff8dfb375112c7619d7d31fec412c6fa7383..bf02e4dc04d7f2e5fb6724c5ccf46d3284f49116 100644 (file)
@@ -90,8 +90,8 @@ int
 main()
 {
   std::ofstream logfile ("mapping_q1_eulerian/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-10);
index cba0658aa53dfa53c3b77101ca7ee44584e375a2..db89a6b09617c8003071a12466b439914f0adc86 100644 (file)
@@ -232,8 +232,8 @@ void MappingTest<dim>::graphical_output ()
 int main () 
 {
   std::ofstream logfile ("mapping_q_eulerian/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-10);
index 2287108432712f80d8159d52be2fb1a8f440c8a1..6bc475ab029307ece88f716fa13d1a98c299e424 100644 (file)
@@ -146,8 +146,8 @@ int
 main()
 {
   std::ofstream logfile ("nedelec/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 1d4cdf3e632b08d47fac897e7e9c733b243b75e1..c2b1e2dd3da35d7999b80fe437a51ef0db8909e6 100644 (file)
@@ -108,8 +108,8 @@ int
 main()
 {
   std::ofstream logfile ("nedelec_2/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index b1c113c893230f4de7c8c3dbe6c97bf7bc36a2cc..9fa541be89a3540ad1a1594cb7865091c2caa76c 100644 (file)
@@ -102,8 +102,8 @@ int
 main()
 {
   std::ofstream logfile ("nedelec_3/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 3c252627880bee088f52deabb94cfaa39ffb2b29..54f45c53436bedf47b016f0d285c153976411e9f 100644 (file)
@@ -234,8 +234,8 @@ void check_dim ()
 
 int main ()
 {
-  logfile.precision (2);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(2);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console (0);
 
index 0adedac37bfa037c6dd6b52b727f03f55533c7ff..ce2aeb4db9561ffbd50de7f61450cbf1325804a7 100644 (file)
@@ -53,8 +53,8 @@ int
 main()
 {
   std::ofstream logfile ("q_1/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 8e2646861aef99a1c3734cd8fd5c17c5d283783d..d831d9d30fd76ab70df9a88da3ec1a02be0e6ed2 100644 (file)
@@ -59,8 +59,8 @@ int
 main()
 {
   std::ofstream logfile ("q_2/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 3bb90e7f9cef8093d8c7e5b846b54bee065f8217..6f708b658a895a5a4ff829bd17703ab2733272a5 100644 (file)
@@ -57,8 +57,8 @@ int
 main()
 {
   std::ofstream logfile ("q_3/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index dd09756a6bf2622dc733b41bd2d223b5a30ab3ca..0b40b7f444887087bc264ea74b78a1f6aaee5064 100644 (file)
@@ -61,8 +61,8 @@ int
 main()
 {
   std::ofstream logfile ("q_4/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 0bc7afecb9dbf6a9b9d410a6a0a70e62eab32b15..b7750bf6d247d71b482e5a375cae24c0d83f2f99 100644 (file)
@@ -84,8 +84,8 @@ int
 main()
 {
   std::ofstream logfile ("rt_1/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 2d881199070e5e63a87e476b08a071db4f49195d..25ae558d523b8f5f9abc541c6701245182e8408e 100644 (file)
@@ -83,8 +83,8 @@ test (const unsigned int degree)
 int
 main()
 {
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index a0c1355872b8f53c250a0c5c3cb30a33710ad8af..8a9efd8416faf358800ecc2723607f3190586d9d 100644 (file)
@@ -89,8 +89,8 @@ test (const unsigned int degree)
 int
 main()
 {
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index be946f79fb15583fc92d4b3be5fff81451da3b6c..c68f33de4de868f161c236b361f28d3a0a8fa229 100644 (file)
@@ -82,8 +82,8 @@ test (const unsigned int degree)
 int
 main()
 {
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 55a4b05940c380f82e2c047fef902169c00b6d20..736cf6cd26406923db5a5db9af9e22461c147f07 100644 (file)
@@ -87,8 +87,8 @@ test (const unsigned int degree)
 int
 main()
 {
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 3aeff2cff1afaf16d2a6281164bbf32dba82468e..e22cf651e27a112c81d9ba270dadb6093a0c15e8 100644 (file)
@@ -87,8 +87,8 @@ test (const unsigned int degree)
 int
 main()
 {
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 8a9c23358023180291e0a63c1e8cf7c45469df41..38723fd3f446a56aa065ac3f32d8a97758e2a099 100644 (file)
@@ -87,8 +87,8 @@ test (const unsigned int degree)
 int
 main()
 {
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 25067b99dfa01209a9fb55c2e3334fee46306a78..1c568bb305cb2a74504524f66dd84c43e87ef06a 100644 (file)
@@ -162,8 +162,8 @@ int
 main()
 {
   std::ofstream logfile ("rt_2/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 2ee3da16afb5f0a547ff31c6444b8de676c6dca3..99e3ebbf06a4e8ee22580e4c875c43c42ba12298 100644 (file)
@@ -50,8 +50,8 @@ int
 main()
 {
   std::ofstream logfile ("rt_3/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 0c20aa99b715f118088f48f05cf778cb49e5b40b..69caa45dc202c9bd279052e7c5cdfb91117bc927 100644 (file)
@@ -54,8 +54,8 @@ int
 main()
 {
   std::ofstream logfile ("rt_5/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 294bbaf3f4d86dc1c9d45cd8d5cc7baccfe91f0d..9af0a16d874dbd1abb5c80a3a53b8b4e7f3bafca 100644 (file)
@@ -73,8 +73,8 @@ int
 main()
 {
   std::ofstream logfile ("rt_7/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index e7670b7d6adb0870d3bbfcbd8ce201a56d8920d8..911b6e2cd7e7a84bf95f9fe1ecf62743f0666234 100644 (file)
@@ -92,8 +92,8 @@ test (const unsigned int degree)
 int
 main()
 {
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 3a49ec0fd44b3321871e5059dbcd6e7116e05364..438e9ed6858efe6b52779de8483f7dce0c96cfa8 100644 (file)
@@ -88,8 +88,8 @@ test (const unsigned int degree)
 int
 main()
 {
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index c9da7bd5b650912beb5d48262bbae5d4d1c2a386..0560bdf599d6e6211fcee296d34959ef07a3ab1e 100644 (file)
@@ -2,7 +2,7 @@
 //    rt_approximation_01.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003, 2005, 2006, 2007 by the deal.II authors
+//    Copyright (C) 2003, 2005, 2006, 2007, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -431,8 +431,10 @@ double TestProjection (Mapping<2> &mapping,
 
 int main ()
 {
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;
+  logfile << std::setprecision(PRECISION);
+  logfile << std::fixed;
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index e5fa58fbcf65bae6ef0a339a888685b9f2600407..dae083e7f12dfb83ea038e061857772528bec28e 100644 (file)
@@ -257,8 +257,8 @@ void EvaluateNormal (DoFHandler<2> *dof_handler,
 
 int main (int /*argc*/, char **/*argv*/)
 {
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 15301ab5882e070462e3f9e53362c27abab0c7df..a5a5e6a60bae6fa5f05c268fab40af91aa0b8614 100644 (file)
@@ -2,7 +2,7 @@
 //    rtn_2.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003, 2005, 2006 by the deal.II authors
+//    Copyright (C) 2003, 2005, 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
@@ -72,8 +72,7 @@ int
 main()
 {
   std::ofstream logfile ("rtn_2/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION) << std::fixed;
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 74a1bd2f3c86ee308b26722b21d515ca87d007ce..5f60b6ab1598e14a3dbbabbea615fe79df0c6568 100644 (file)
@@ -47,8 +47,8 @@ int
 main()
 {
   std::ofstream logfile ("rtn_3/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index d1a270cb5d9ce5a74f4280a71a8d274527c937e7..5a272f776216f9c730b9762075b6e6253958eb92 100644 (file)
@@ -669,8 +669,7 @@ int
 main()
 {
   std::ofstream logfile ("shapes/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);
+  deallog << std::setprecision(PRECISION) << std::fixed;
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 3e706f2d4c5341266787b376f5357039f4679a6d..95f1a83976cb3227721094c23c90ac5c26c46692 100644 (file)
@@ -75,8 +75,8 @@ int
 main()
 {
   std::ofstream logfile ("system_1/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 6901f137665c42bf4a2838de09c48956428ae122..6e337bd945da2308373211a11c1a7c04d04d3d3b 100644 (file)
@@ -147,8 +147,8 @@ int
 main()
 {
   std::ofstream logfile ("system_index/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
index 1bc86358be03571443fbe0455678e9807e064105..4588dc8cfc20316714e980d23d9ff125abb7d4bf 100644 (file)
@@ -78,7 +78,7 @@ main()
 {
   std::ofstream logfile("transfer/output");
   deallog.attach(logfile);
-  logfile.precision(3);
+  deallog << std::setprecision(3);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
   
index 52d72662a3fe9067befbd7bbed7f5de34d5f3fda..34d62735d0dd2c1dbc5a082a6295deb892df026a 100644 (file)
@@ -238,8 +238,8 @@ int
 main()
 {
   std::ofstream logfile ("up_and_down/output");
-  logfile.precision (PRECISION);
-  logfile.setf(std::ios::fixed);  
+  deallog << std::setprecision(PRECISION);
+  deallog << std::fixed;  
   deallog.attach(logfile);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);

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.