]> https://gitweb.dealii.org/ - dealii.git/commitdiff
filter in LogStream
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 8 Apr 2005 13:54:54 +0000 (13:54 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 8 Apr 2005 13:54:54 +0000 (13:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@10434 0785d39b-7218-0410-832d-ea1e28bc413d

53 files changed:
tests/deal.II/block_matrices.cc
tests/deal.II/constraints.cc
tests/deal.II/derivatives.cc
tests/deal.II/dof_test.cc
tests/deal.II/face_orientations_3d.cc
tests/deal.II/fe_tables.cc
tests/deal.II/filtered_iterator.cc
tests/deal.II/filtered_matrix.cc
tests/deal.II/gradients.cc
tests/deal.II/grid_in.cc
tests/deal.II/grid_in_3d.cc
tests/deal.II/grid_out.cc
tests/deal.II/grid_test.cc
tests/deal.II/grid_tools.cc
tests/deal.II/intergrid_constraints.cc
tests/deal.II/intergrid_map.cc
tests/deal.II/mg_dof_handler.cc
tests/deal.II/second_derivatives.cc
tests/deal.II/subdomain_ids.cc
tests/deal.II/wave-test-3.cc
tests/fe/dgp_monomial_1.cc
tests/fe/dgp_monomial_2.cc
tests/fe/dgq_1.cc
tests/fe/fe_data_test.cc
tests/fe/fe_tools.cc
tests/fe/fe_tools_test.cc
tests/fe/function.cc
tests/fe/internals.cc
tests/fe/mapping.cc
tests/fe/mapping_c1.cc
tests/fe/mapping_q1_eulerian.cc
tests/fe/nedelec.cc
tests/fe/nedelec_2.cc
tests/fe/nedelec_3.cc
tests/fe/non_primitive_1.cc
tests/fe/non_primitive_2.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_2.cc
tests/fe/rt_3.cc
tests/fe/rt_4.cc
tests/fe/rt_5.cc
tests/fe/rt_6.cc
tests/fe/shapes.cc
tests/fe/system_1.cc
tests/fe/traits.cc
tests/fe/transfer.cc
tests/fe/up_and_down.cc
tests/multigrid/cycles.cc
tests/multigrid/transfer.cc

index 28ce211112d28ee7192a01a11b66faa1da3462f7..4732cf48eba1f4768f3b77c4320611f0d2c67c96 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2000, 2001, 2003, 2004 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -357,6 +357,7 @@ int main ()
   
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
 
                                   // vector of solution vectors
index 8e6b984cb20ba0dc78c8a8a7f3ac02cc2d67fa2c..cbe4d7d864cff203c7dc6569af9bea995cfa8e63 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -290,6 +290,7 @@ int main ()
   logfile.precision (2);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   FiniteElement<3> *fe = 0;
   
index 3c7dd3602cc04e9197697f9e27fb62d01064e7d0..7577f42095ae022a251ac90c35d01784b7b1d51f 100644 (file)
@@ -216,6 +216,7 @@ int main ()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   if (!errors) deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   deallog.push ("1d");
   loop<1> ();
index ce2184218ef553e616b33ad70a319fad84b18ef9..a8a81c9fa616d6dc25aa675be7956a0ed2c3ccd8 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -345,6 +345,7 @@ int main ()
 {
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   for (unsigned int test_case=1; test_case<=2; ++test_case)
     {
index e45c66d969acdee6f2fe4840bebbcc961465a5fb..ce94613d1dbb4818dc628f76620ab2fb8facda50 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -75,6 +75,7 @@ int main ()
   logfile.precision (2);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   test ("grid_in_3d_1.in");
   test ("grid_in_3d_2.in");
index ce83981106a24597325492c0e37fb504867bc2d8..3ed2bc4ab4db5b18603f1821694988439c702033 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -102,6 +102,7 @@ int main()
 {
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   logfile.precision(4);
   logfile.setf(std::ios::fixed);
index 5752d149a33360f6829519a567d54551f3d886be..f64f89f551ab991a15a2d13ac24442d5e02e99d1 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2001, 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -221,6 +221,7 @@ int main ()
   logfile.precision(4);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   test ();
   
index 54fe9ee4ad2d69f4f10cbd0d23fb44bb41864736..51feee1f739838686dc90a27c4a30541e32dc491 100644 (file)
@@ -202,6 +202,7 @@ int main ()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   deallog.push ("1d");
   check<1> ();
index fd46e05dad8c3149bb3c739889082c385c5b36c4..2ad6af4234be32c15b5eda485525a9db8b8ee03a 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 1998, 1999, 2000, 2003, 2004 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -36,6 +36,7 @@ int main ()
   logfile.precision (3);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   Triangulation<2> tria;
   GridGenerator::hyper_cube (tria,0,1);
index 5e209ae7a74491e7a7c792a1b509e72ecc97450c..e1c38b1ca11149b8897dc6c77495fe1af66615ed 100644 (file)
@@ -96,6 +96,7 @@ int main ()
   logfile.precision (2);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   test1<2> ();
   test2<2> ();
index 62105b926753c4f36795c195ef1dce41b1deb36a..fb5802e9a73c180c9b1d7857b48414a18dc8a5be 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -74,6 +74,7 @@ int main ()
   logfile.precision (2);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   test ("grid_in_3d_1.in");
   test ("grid_in_3d_2.in");
index 19746b488d1d78826f741b3d641bd165053650b8..87fa3cccb116c6e0ed0fe6b204021bcf8595c9ce 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -60,6 +60,7 @@ int main ()
   logfile.precision (2);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   test<1> ();
   test<2> ();
index 4c0916bffc3bed06b06a3811602d5672b63488b9..e0ba4a3959f173c668881bba9af2a880ad8ff39a 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -271,6 +271,7 @@ int main ()
   logfile.precision(2);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
   for (unsigned int i=1; i<=3; ++i)
     test<2> (i);
index 43424c316bcabc99a3b3fbe416225880aaa8a2ac..ae97b98950f8952e6ef02858592a043a8e44bef7 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2001, 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -93,6 +93,7 @@ int main ()
   logfile.precision(4);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   test1<1> ();
   test1<2> ();
index 125b85212ec7fc8a71b331238ce7b8a1f0dc09a4..6d49098a4585b001573d13d1e635a468e1b6b741 100644 (file)
@@ -228,6 +228,7 @@ int main ()
   
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   check<1> ();
   check<2> ();
index 2cd93551198fae7531a60d106ee3baf8878a27f3..bb9d6f669e28782fe9653554e44d5bda20ad4174 100644 (file)
@@ -107,6 +107,7 @@ int main ()
   
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   check<1> ();
   check<2> ();
index 0cb59aade061067c7ae1d85ba80b7bdced76ca78..d99f7225900df6665f3266f4802c23f62202699c 100644 (file)
@@ -34,6 +34,7 @@ int main ()
   
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   const unsigned int dim=2;
   Triangulation<dim> tria;
index 92d0730285a166865556e7a6bd8800d6daa8be83..ba1ff4f61f87157cfee6f1c9ce18c138c0089db1 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -35,6 +35,7 @@ int main ()
   logfile.precision(2);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   Triangulation<2> tria;
   GridGenerator::hyper_cube (tria,0,1);
index f46b71fa3c0249446137d13b9eb35169d85f337c..1633f9fa7628d6367f947dd8495163aa6c172afe 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2001, 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -178,6 +178,7 @@ int main ()
   logfile.precision(4);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   test<1> ();
   test<2> ();
index 6a40ce1925a4766ca6fc73d2e75caa4d1902a709..b63a5a2805e0caaf251fcd4666a3a43566273bd3 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    std::copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by Wolfgang Bangerth
+//    std::copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by Wolfgang Bangerth
 //
 //    This file is subject to QPL and may not be  distributed
 //    without std::copyright and license information. Please refer
@@ -7526,6 +7526,7 @@ int main ()
   logfile.setf(std::ios::fixed);
   logfile.precision (2);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   WaveProblem<2> waves;
   MultipleParameterLoop input_data;
index 64ca909bc263015490de4b7ea854f32f1618fad9..7549a2334181f80bed20691ba03f2284b5e87409 100644 (file)
@@ -2,7 +2,7 @@
 //    q_2.cc,v 1.1 2003/05/05 13:49:41 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003, 2004 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -24,7 +24,7 @@
 #include <fstream>
 #include <string>
 
-#define PRECISION 5
+#define PRECISION 3
 
 
 
@@ -63,6 +63,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
                                    // we had the matrices precomputed
                                    // up to Q4 for 1d, Q3 for 2d and
index 5ba0af702169fda3fdfd9f8022140e033e46da75..13e127a61242b94735975b7f872e407639c303fb 100644 (file)
@@ -2,7 +2,7 @@
 //    q_4.cc,v 1.1 2003/05/08 14:54:41 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003 by the deal.II authors
+//    Copyright (C) 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -65,6 +65,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   for (unsigned int degree1=1; degree1<=4; ++degree1)
     for (unsigned int degree2=1; degree2<=4; ++degree2)
index 06cceaf0af6e02d4c172b8e53312e09b3e33d16b..61f608a0f22dc00cdf9d4f8231de5bcbaf46cec3 100644 (file)
@@ -2,7 +2,7 @@
 //    dgq_1.cc,v 1.1 2003/05/08 14:54:41 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003 by the deal.II authors
+//    Copyright (C) 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -65,6 +65,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   for (unsigned int degree1=0; degree1<=4; ++degree1)
     for (unsigned int degree2=0; degree2<=4; ++degree2)
index 5c1b4b1a9911a91f7831cb44e4d6ef9a3d2187c7..add70c3e632a99ba024b9a1d3ef8c6b30d56b880 100644 (file)
@@ -141,6 +141,7 @@ int main(int,char)
   std::ofstream logfile("fe_data_test.output");
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 //  deallog.log_execution_time(true);
 //  deallog.log_time_differences(true);
   
index db7d4071f94b08a1c78becfe67837fda8cb6d206..3737a3db5e331b42b721e4ade67e4b07bf78c583 100644 (file)
@@ -183,6 +183,7 @@ int main()
   std::ofstream logfile("fe_tools.output");
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
   test_projection<1>(logfile);
   test_projection<2>(logfile);
index 2f89a4ef15babb912d5a526c6c3c989c3a9422db..1e919d40c6715eba560a4d16512fb1abccf91690 100644 (file)
@@ -4,7 +4,7 @@
 /*    fe_tools_test.cc,v 1.6 2003/04/09 15:49:54 wolf Exp       */
 /*    Version:                                           */
 /*                                                                */
-/*    Copyright (C) 1999, 2000, 2001, 2002, 2003 by the deal.II authors */
+/*    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors */
 /*                                                                */
 /*    This file is subject to QPL and may not be  distributed     */
 /*    without copyright and license information. Please refer     */
@@ -188,6 +188,7 @@ int main ()
   std::ofstream logfile("fe_tools_test.output");
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
   Triangulation<2> tria;
   MappingQ1<2> mapping;
index 93de5a44d7909471a89bf8f1e3f34f75946478b4..1d4249fb5943ae8e7cd54e6bd4200bbc48ad237b 100644 (file)
@@ -87,6 +87,7 @@ int main()
   std::ofstream logfile("function.output");
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   test_vectors<2>();
   
index b61ff41453c9e7ab377f52966db874c0df372ad4..8a15877a461948f6fa83c0216679c4209eade4f0 100644 (file)
@@ -118,6 +118,7 @@ main()
   std::ofstream logfile("internals.output");
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   CHECK_M(DGQ,0,2);
   CHECK_M(DGQ,1,2);
index 5067122be42388fd45c23ef05dacd1e5749603a5..7346a60d9521b7507c6ca564ac5a721ec774653d 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 Ralf Hartmann
+// Copyright (C) 2001, 2002, 2003, 2004, 2005 Ralf Hartmann
 //
 // Shows the shape functions implemented and computes the area of cells.
 
@@ -563,6 +563,7 @@ int main()
   logfile.precision (PRECISION);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
                                   // ----------------------- 
                                   // Tests for dim=1
index f6feb6eda1fb546e94fd5e9add182db306538934..12541c313ece5ec63d5e7bbc84406e8b4cbca9cc 100644 (file)
@@ -1,5 +1,5 @@
 // mapping_c1.cc,v 1.5 2003/04/09 15:49:55 wolf Exp
-// Copyright (C) 2001, 2003 Wolfgang Bangerth
+// Copyright (C) 2001, 2003, 2005 Wolfgang Bangerth
 //
 // Test the continuity of normal vectors at vertices, and thus the
 // C1-ness of the C1-mapping
@@ -27,6 +27,7 @@ int main ()
   logfile.precision (PRECISION);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
                                   // create grid of circle, somehow
                                   // arbitrarily from only one cell,
index bc971fb53728f73ececbe8c595852f0d5dd41f0f..271eafa1d355f6c4abaea41fda79bb6322997eb5 100644 (file)
@@ -1,5 +1,5 @@
 // mapping_q1_eulerian.cc,v 1.3 2002/06/26 12:28:54 guido Exp
-// Copyright (C) 2001, 2002 Michael Stadler, Wolfgang Bangerth
+// Copyright (C) 2001, 2002, 2005 Michael Stadler, Wolfgang Bangerth
 //
 
 #include "../tests.h"
@@ -94,6 +94,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
 
 
index b8bfd0c23167d8e0e84e78ebb2f67b29ae991c7f..815ffda09b5de909e0c0f95ba209cf8019387f2e 100644 (file)
@@ -150,6 +150,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
   plot_shape_functions<2>();
 //  plot_shape_functions<3>();
index 6f59f3a903ecaef758392e1335ce7838586ac05e..170952bccbdc6c5a788827e4c45fa69b49fd93c2 100644 (file)
@@ -113,6 +113,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
   check<2>();
   check<3>();
index e2456e189193fdda679a79609ad70fcc36e3a573..cb0166d02b1a817046852fed2825693d35457105 100644 (file)
@@ -107,6 +107,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
   check<2>();
   check<3>();
index 71d8289c33f423428dee9c8cfcd4dab9fe299a9d..44d5245b5e496a9d40e5ea049f346bbdeab3c955 100644 (file)
@@ -2,7 +2,7 @@
 //    non_primitive_1.cc,v 1.6 2003/04/21 07:31:15 guido Exp
 //    Version: 
 //
-//    Copyright (C) 2001, 2002, 2003 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -330,6 +330,7 @@ int main ()
   std::ofstream logfile("non_primitive_1.output");
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   test<1> ();
   test<2> ();
index a5575956e60b99fb501abcd39574a70ad311c9d5..45142c24a3c1f163a671e2b5d42720b440f3b356 100644 (file)
@@ -2,7 +2,7 @@
 //    non_primitive_2.cc,v 1.5 2003/04/21 07:31:15 guido Exp
 //    Version: 
 //
-//    Copyright (C) 2001, 2002, 2003 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -255,6 +255,7 @@ int main ()
   std::ofstream logfile("non_primitive_2.output");
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   test<2> ();
   test<3> ();
index cebf4992a03e6bf9f95fad07cfedfde05b89f2a2..8f1af6659abf270317ec7b2e841460817a7ab10d 100644 (file)
@@ -2,7 +2,7 @@
 //    q_1.cc,v 1.1 2003/05/05 13:49:41 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003 by the deal.II authors
+//    Copyright (C) 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -24,7 +24,7 @@
 #include <fstream>
 #include <string>
 
-#define PRECISION 5
+#define PRECISION 2
 
 
 
@@ -41,7 +41,7 @@ test(const unsigned int degree)
   for (unsigned int i=0; i<constraints.m(); ++i)
     {
       for (unsigned int j=0; j<constraints.n(); ++j)
-       deallog << constraints(i,j) << ' ';
+       deallog << 100*constraints(i,j) << ' ';
       deallog << std::endl;
     }
   
@@ -57,6 +57,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
                                    // no constraints in 1d, but we had
                                    // the matrices precomputed up to
index 4216914a993aac61aa85a75ab1c0d3eca8035681..bab2b779690a02dba97fbaaae06b5de86df2d602 100644 (file)
@@ -2,7 +2,7 @@
 //    q_2.cc,v 1.1 2003/05/05 13:49:41 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003, 2004 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -24,7 +24,7 @@
 #include <fstream>
 #include <string>
 
-#define PRECISION 5
+#define PRECISION 2
 
 
 
@@ -44,7 +44,7 @@ test(const unsigned int degree)
       for (unsigned int i=0; i<m.m(); ++i)
        {
          for (unsigned int j=0; j<m.n(); ++j)
-           deallog << m(i,j) << ' ';
+           deallog << 100*m(i,j) << ' ';
          deallog << std::endl;
        }
       
@@ -63,6 +63,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
                                    // we had the matrices precomputed
                                    // up to Q4 for 1d, Q3 for 2d and
index 8b2de29b41bb87ab5ca5993c22fd4a5c13956bba..4d36676b3dc9c7b3506aaca53c22aba19d33b09d 100644 (file)
@@ -2,7 +2,7 @@
 //    q_3.cc,v 1.1 2003/05/05 13:49:41 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003, 2004 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -61,6 +61,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
                                    // we had the matrices precomputed
                                    // up to Q4 for 1d, 2d and 3d
index f99d5729aa33de99eafc838f9656e41ca498529c..76117877b8de2b0cc9aa981326d8db3fb713cd43 100644 (file)
@@ -2,7 +2,7 @@
 //    q_4.cc,v 1.1 2003/05/08 14:54:41 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003 by the deal.II authors
+//    Copyright (C) 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -65,6 +65,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   for (unsigned int degree1=1; degree1<=4; ++degree1)
     for (unsigned int degree2=1; degree2<=4; ++degree2)
index 04a5bf6569504097e4648902b7b54fae4c3adb07..025f2edd27df819a38dacd68dbc0fbf3dcaabb33 100644 (file)
@@ -2,7 +2,7 @@
 //    rt_1.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003 by the deal.II authors
+//    Copyright (C) 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -22,7 +22,7 @@
 #include <fstream>
 #include <string>
 
-#define PRECISION 5
+#define PRECISION 2
 
 
 
@@ -79,6 +79,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   for (unsigned int degree=0; degree<4; ++degree)
     plot_shape_functions<2>(degree);
index 9086e0c11fb6528132e7cb65db8405456659a2aa..c0dcae7ad7217db88d7205447435410a5a3c78f2 100644 (file)
@@ -2,7 +2,7 @@
 //    rt_2.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003 by the deal.II authors
+//    Copyright (C) 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -32,7 +32,7 @@
 #include <fstream>
 #include <string>
 
-#define PRECISION 5
+#define PRECISION 2
 
 
 Point<2> stretch_coordinates (const Point<2> p)
@@ -161,6 +161,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   for (unsigned int degree=0; degree<4; ++degree)
     plot_shape_functions<2>(degree);
index 4078d8f984ca9b24c18914c40c2736d023a345bb..d48f4726e3d7ba59cf53d1620d2b75a69e051782 100644 (file)
@@ -2,7 +2,7 @@
 //    rt_3.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003 by the deal.II authors
+//    Copyright (C) 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -21,7 +21,7 @@
 #include <fstream>
 #include <string>
 
-#define PRECISION 5
+#define PRECISION 4
 
 
 
@@ -54,6 +54,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   for (unsigned int degree=0; degree<4; ++degree)
     test<2>(degree);
index c513bed207bf250293d83b7d7e35064c72cfbc36..3adb45969640b68a32270256bf0bcf372b914782 100644 (file)
@@ -2,7 +2,7 @@
 //    rt_4.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003, 2004 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -21,7 +21,7 @@
 #include <fstream>
 #include <string>
 
-#define PRECISION 5
+#define PRECISION 2
 
 
 
@@ -41,7 +41,7 @@ test(const unsigned int degree)
       for (unsigned int i=0; i<m.m(); ++i)
        {
          for (unsigned int j=0; j<m.n(); ++j)
-           deallog << m(i,j) << ' ';
+           deallog << 100*m(i,j) << ' ';
          deallog << std::endl;
        }
       
@@ -58,6 +58,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   for (unsigned int degree=0; degree<4; ++degree)
     test<2>(degree);
index db4407de7c01aabc48f4e046bd0ee8761d8b9fa1..84beeeec7e0628cb70ea28cdebcbb66c2beddf91 100644 (file)
@@ -2,7 +2,7 @@
 //    rt_5.cc,v 1.1 2003/06/09 15:59:07 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003, 2004 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -21,7 +21,7 @@
 #include <fstream>
 #include <string>
 
-#define PRECISION 5
+#define PRECISION 2
 
 
 
@@ -58,6 +58,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   for (unsigned int degree=0; degree<1; ++degree)
     test<2>(degree);
index e7a4491adc0ddcd3c1fc9f74f76b493930c89dd2..c035fbc27f24e950c3cb2405cc900ae85527ffac 100644 (file)
@@ -2,7 +2,7 @@
 //    rt_6.cc,v 1.1 2003/06/09 15:59:07 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003 by the deal.II authors
+//    Copyright (C) 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -165,6 +165,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
   test<2>();
   
index c6c65d39ed56eafb671974d78832ed71da418f1b..2e41239fd98d846e7a7f774e53840c2dff41c24c 100644 (file)
@@ -656,6 +656,7 @@ main()
   logfile.setf(std::ios::fixed);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
   plot_FE_Q_shape_functions<1>();
   plot_FE_Q_shape_functions<2>();
index 4434a9520572ffd46e8c526c857e990763f226c9..f08196275d06481c1c3e0c3a4a30c344526e3e0c 100644 (file)
@@ -2,7 +2,7 @@
 //    system_1.cc,v 1.3 2003/06/09 21:55:00 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2003 by the deal.II authors
+//    Copyright (C) 2003, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -79,6 +79,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   CHECK_SYS1(FE_Q<1>(1),  3,
              FE_Q<1>(2),  3,
index 84132878b36469595fabb5daea91a973d316214d..02c2c50ec0ae72b1660545f6e42438c5405fb892 100644 (file)
@@ -2,7 +2,7 @@
 //    traits.cc,v 1.2 2004/01/23 16:34:24 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -121,6 +121,7 @@ int main ()
   std::ofstream logfile("traits.output");
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   check<1> ();
   check<2> ();
index 080b8d39af88f84cbd809d979bc1bd6c96e9a515..bbc07cb7d8b662c06f62f696739749e9c7b87217 100644 (file)
 char fname[50];
 
 #define TEST(dim, l, el, deg) { el<dim> fe(deg); \
-  of << # el << '<' << dim << ">(" << deg << ')' << std::endl; \
-  print_matrix(of, tr ## dim, l, fe, #el); }
+  deallog << # el << '<' << dim << ">(" << deg << ')' << std::endl; \
+  print_matrix(tr ## dim, l, fe, #el); }
 
 template<int dim>
 inline void
-print_matrix(LogStream& of,
-            Triangulation<dim>& tr,
+print_matrix(Triangulation<dim>& tr,
             unsigned int level,
             const FiniteElement<dim>& finel,
             const char* /*name*/)
@@ -66,17 +65,20 @@ print_matrix(LogStream& of,
       out = 0.;
       in(i) = 1.;
       transfer.restrict_and_add(level,out,in);
-      out.print(of, 3, false);
+      for (unsigned int k=0;k<out.size();++k)
+       deallog << '\t' << out(k);
+      deallog << std::endl;
     }
-  of << std::endl;
+  deallog << std::endl;
 }
 
 
 int
 main()
 {
-  std::ofstream of("transfer.output");
+  std::ofstream logfile("transfer.output");
   deallog.attach(logfile);
+  logfile.precision(3);
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
   
index f04c1a7ac598b3f43bcd7260146fe46093b45ac4..add039ea3a9f767e004cd5ee15999179d146c45b 100644 (file)
@@ -241,6 +241,7 @@ main()
   logfile.setf(std::ios::fixed);  
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
   test<1>();
   test<2>();
index 9a290128fd4d7f83d61fd9de073ca8df5762df8f..5d748017dd4295e5a90d0e87cefd74e453e0f8a0 100644 (file)
@@ -86,6 +86,7 @@ int main()
   std::ofstream logfile("cycles.output");
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
   test_cycles (0,4);
   test_cycles (2,5);
index fe984a6e4b2440a300b179b756d69a5d48906113..f33bb3279084f852397670bae4a70cb06e938753 100644 (file)
@@ -227,6 +227,7 @@ int main()
   logfile.precision(3);
   deallog.attach(logfile);
   deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
   
 //  check_simple (FE_DGP<2>(0));
 //  check_simple (FE_DGP<2>(1));

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.