From: David Wells Date: Sat, 21 Feb 2015 17:06:44 +0000 (-0500) Subject: Improved the style. X-Git-Tag: v8.3.0-rc1~435^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F584%2Fhead;p=dealii.git Improved the style. I ran astyle (deleted trailing whitespace) and removed some commented-out code. --- 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; }; } -