]> https://gitweb.dealii.org/ - dealii.git/commitdiff
This program does not use MPI. Don't pretend that we do.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 5 Jan 2015 16:05:31 +0000 (10:05 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 5 Jan 2015 16:08:24 +0000 (10:08 -0600)
examples/step-43/step-43.cc

index d7bb278d7fb7f10d0ba036a787318ce09d2d6d32..59b63810a0f5bc11a8e0d16f0e898ad2483f5632 100644 (file)
@@ -1,6 +1,6 @@
 /* ---------------------------------------------------------------------
  *
- * Copyright (C) 2010 - 2013 by the deal.II authors
+ * Copyright (C) 2010 - 2013, 2015 by the deal.II authors
  *
  * This file is part of the deal.II library.
  *
@@ -2241,10 +2241,8 @@ start_time_iteration:
 
 // @sect3{The <code>main()</code> function}
 //
-// The main function looks almost the same as in all other programs. In
-// particular, it is essentially the same as in step-31 where we also explain
-// the need to initialize the MPI subsystem.
-int main (int argc, char *argv[])
+// The main function looks almost the same as in all other programs:
+int main ()
 {
   try
     {
@@ -2253,8 +2251,6 @@ int main (int argc, char *argv[])
 
       deallog.depth_console (0);
 
-      Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv);
-
       TwoPhaseFlowProblem<2> two_phase_flow_problem(1);
       two_phase_flow_problem.run ();
     }

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.