]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't write stuff into a big file that we're never going to read again. It's also...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Jul 2011 14:59:13 +0000 (14:59 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Jul 2011 14:59:13 +0000 (14:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@23906 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/p4est_2d_coarse_01.cc
tests/mpi/p4est_2d_ghost_01.cc
tests/mpi/p4est_2d_ghost_02.cc
tests/mpi/p4est_2d_refine_01.cc
tests/mpi/p4est_2d_refine_02.cc
tests/mpi/p4est_2d_refine_03.cc
tests/mpi/p4est_2d_simple.cc
tests/mpi/p4est_3d_ghost_01.cc
tests/mpi/p4est_max_refine.cc

index a53355dab21f9378deca26b31496c391055e0bd0..fecedb8136a52909005cf53c60ee8ece4c12b1b3 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2009, 2010 by the deal.II authors
+//    Copyright (C) 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -72,7 +72,9 @@ void test()
                 ExcInternalError() );
        }
 
-      write_vtk (tr, "p4est_2d_coarse_01", "1");
+      deallog << "Checksum: "
+             << tr.get_checksum ()
+             << std::endl;
     }
 
 
index 1e1031a93be24cd2f4bb8ef82858ead0e384ed21..55c5dc139adde0b8bdaa783ee1cc82ef78b4c35f 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2009, 2010 by the deal.II authors
+//    Copyright (C) 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -98,7 +98,9 @@ void test()
 
        }
 
-      write_vtk (tr, "p4est_2d_ghost_01", "1");
+      deallog << "Checksum: "
+             << tr.get_checksum ()
+             << std::endl;
     }
 
   deallog << "OK" << std::endl;
index 736ff84270d29f2061e7fa0976a4f3c1397c39e8..a016a43acfa1e31c0671c1bd2460b1962ad276bd 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2009, 2010 by the deal.II authors
+//    Copyright (C) 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -93,7 +93,9 @@ void test()
                }
            }
 
-         write_vtk (tr, "p4est_2d_ghost_02", "1");
+         deallog << "Checksum: "
+                 << tr.get_checksum ()
+                 << std::endl;
 
          Assert (tr.n_global_active_cells() ==
                  static_cast<unsigned int>(std::pow (1.*GeometryInfo<dim>::max_children_per_cell, i+1)),
index f96d0d71b777e15fd4a2ebbbd43640e41929fd6f..e39ac25705d54c447e99a4e79c58c36b2ae5c13f 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2009, 2010 by the deal.II authors
+//    Copyright (C) 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -61,7 +61,9 @@ void test()
          deallog << "#cells = " << tr.n_global_active_cells() << std::endl;
        }
 
-      write_vtk (tr, "p4est_2d_refine_01", "1");
+      deallog << "Checksum: "
+             << tr.get_checksum ()
+             << std::endl;
     }
 
 
index 4a577ec47babf877587829a1121182b8b69ff60e..a777347641ac5d279ffb35d2858dd10c84a0def4 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2009, 2010 by the deal.II authors
+//    Copyright (C) 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -53,7 +53,9 @@ void test()
          deallog << "#cells = " << tr.n_global_active_cells() << std::endl;
        }
 
-      write_vtk (tr, "p4est_2d_refine_02", "1");
+      deallog << "Checksum: "
+             << tr.get_checksum ()
+             << std::endl;
     }
 
 
index a02d75f36201e1dea0b77a70764dd1b08d78b243..bc759fa9be55a92c2c12f044472f676f83d0b90f 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2009, 2010 by the deal.II authors
+//    Copyright (C) 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -76,8 +76,6 @@ void test()
            {
              deallog << "#cells = " << tr.n_global_active_cells() << std::endl;
            }
-
-//       write_vtk (tr, "p4est_2d_refine_03", "1");
        }
     }
 
index 1369bd1461e8705980bdbdf8e5abf20d0b08f201..63d11aff497f78c2e37dc2e5bd1c94d33dea08cd 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2009, 2010 by the deal.II authors
+//    Copyright (C) 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -60,7 +60,9 @@ void test()
        }
 
 
-      write_vtk (tr, "p4est_2d_simple", "1");
+      deallog << "Checksum: "
+             << tr.get_checksum ()
+             << std::endl;
     }
 
 
index a409f31f05715c6f779dc0d72189bc55f66d289c..40f1ca7775b31ec93c5835f9c314cd369404b011 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2009, 2010 by the deal.II authors
+//    Copyright (C) 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -101,19 +101,17 @@ void test()
          
        }
 
-      write_vtk (tr, "p4est_3d_ghost_01", "1");
+      deallog << "Checksum: "
+             << tr.get_checksum ()
+             << std::endl;
       if (myid==0)
        {
          std::ofstream file("p4est_3d_ghost_01/1.gpl");
          
          GridOut().write_gnuplot (tr, file);
        }
-      
-
 
       deallog << "#global cells " << tr.n_global_active_cells() << std::endl;
-
-
     }
 
   deallog << "OK" << std::endl;
index 97a1a04e250dc96d14cb64f10290353efd78d3d3..6ae3f4727fbab234757bd90e35dbe33feddbca4e 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2009, 2010 by the deal.II authors
+//    Copyright (C) 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -65,8 +65,6 @@ void test()
            }
 
          level++;
-//       write_vtk (tr, "p4est_max_refine", Utilities::int_to_string(i,4).c_str());
-
        }
     }
 

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.