]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Only produce output from the head node.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 7 Oct 2011 15:36:41 +0000 (15:36 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 7 Oct 2011 15:36:41 +0000 (15:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@24556 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/p4est_2d_dofhandler_04.cc

index 6b128e26bea05bd33da681c252bfb8020f0b1f97..f83005e7d3dd04a995dc91e2b65b9f3b2c53d440 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
@@ -112,10 +112,11 @@ void test()
             }
         }
 
-       deallog << "# in locally_active_dofs:" << dof_set.n_elements() << std::endl;
        if (myid==0)
-        dof_set.print(deallog);
-
+        {
+          deallog << "# in locally_active_dofs:" << dof_set.n_elements() << std::endl;
+          dof_set.print(deallog);
+        }
     }
 
 }

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.