]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improved the style. 584/head
authorDavid Wells <drwells@vt.edu>
Sat, 21 Feb 2015 17:06:44 +0000 (12:06 -0500)
committerDavid Wells <drwells@vt.edu>
Sat, 21 Feb 2015 17:06:44 +0000 (12:06 -0500)
I ran astyle (deleted trailing whitespace) and removed some
commented-out code.

tests/mpi/data_out_hdf5_01.cc

index 0b424ca1f7017b1dea37c9c8443d299e42ddc8df..76f124cbb26403324fc56d6429c8c844c3c82b0d 100644 (file)
@@ -34,8 +34,6 @@ test ()
   Triangulation<dim> tria;
   GridGenerator::hyper_cube(tria, 0., 1.);
   tria.refine_global (1);
-  //  tria.begin_active()->set_refine_flag();
-  //tria.execute_coarsening_and_refinement ();
 
   FE_Q<dim> fe1(1);
 
@@ -57,16 +55,15 @@ test ()
   xdmf_entries.push_back
   (data_out.create_xdmf_entry (data_filter, "out.h5", 0, MPI_COMM_WORLD));
 
-  data_out.write_xdmf_file(xdmf_entries, "out.xdmf",
-                          MPI_COMM_WORLD);
+  data_out.write_xdmf_file (xdmf_entries, "out.xdmf", MPI_COMM_WORLD);
+
+  deallog << "ok" << std::endl;
+
 
-  deallog <<"ok" << std::endl;
-  
-  
   // Sadly hdf5 is binary and we can not use hd5dump because it might
   // not be in the path. At least we can look at the xdmf:
   if (0==Utilities::MPI::this_mpi_process (MPI_COMM_WORLD))
-    cat_file("out.xdmf");  
+    cat_file("out.xdmf");
 }
 
 
@@ -78,7 +75,6 @@ int main(int argc, char *argv[])
   try
     {
       test<2>();
-//      test<3>();
 
       return 0;
     }
@@ -106,4 +102,3 @@ int main(int argc, char *argv[])
       return 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.