From 2989eaf2b414972a6b464c0435833f7e7f3fb51d Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 21 Feb 2015 12:06:44 -0500 Subject: [PATCH] Improved the style. I ran astyle (deleted trailing whitespace) and removed some commented-out code. --- tests/mpi/data_out_hdf5_01.cc | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/tests/mpi/data_out_hdf5_01.cc b/tests/mpi/data_out_hdf5_01.cc index 0b424ca1f7..76f124cbb2 100644 --- a/tests/mpi/data_out_hdf5_01.cc +++ b/tests/mpi/data_out_hdf5_01.cc @@ -34,8 +34,6 @@ test () Triangulation tria; GridGenerator::hyper_cube(tria, 0., 1.); tria.refine_global (1); - // tria.begin_active()->set_refine_flag(); - //tria.execute_coarsening_and_refinement (); FE_Q 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; }; } - -- 2.39.5