]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Suppress output to screen.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 3 Oct 2011 02:39:40 +0000 (02:39 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 3 Oct 2011 02:39:40 +0000 (02:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@24507 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/p4est_2d_ghost_02.cc

index 51e2204a90f0985e2f27f4aed4752af80edaee48..f079de80aeaea9e6c8509821e998f6b1812aee52 100644 (file)
@@ -93,9 +93,11 @@ void test()
                }
            }
 
-         deallog << "Checksum: "
-                 << tr.get_checksum ()
-                 << std::endl;
+         const unsigned int checksum = tr.get_checksum ();
+         if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)
+           deallog << "Checksum: "
+                   << checksum
+                   << std::endl;
 
          Assert (tr.n_global_active_cells() ==
                  static_cast<unsigned int>(std::pow (1.*GeometryInfo<dim>::max_children_per_cell, i+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.