]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
*sigh* I have the impression that I will do this very, very often
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Dec 2012 17:59:22 +0000 (17:59 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Dec 2012 17:59:22 +0000 (17:59 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_deprecated@27809 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/utilities.cc

index 917e17929b21e75782d2f9067a70b543dfd89296..551da1ccbabdbab532427680cad06b55088f8567 100644 (file)
@@ -540,13 +540,6 @@ namespace Utilities
 
     bool job_supports_mpi ()
     {
-      return program_uses_mpi();
-    }
-
-
-    bool
-    program_uses_mpi ()
-    {
 #ifdef DEAL_II_COMPILER_SUPPORTS_MPI
       int MPI_has_been_started = 0;
       MPI_Initialized(&MPI_has_been_started);
@@ -558,6 +551,13 @@ namespace Utilities
     }
 
 
+    bool
+    program_uses_mpi ()
+    {
+      return job_supports_mpi();
+    }
+
+
     unsigned int get_n_mpi_processes (const MPI_Comm &mpi_communicator)
     {
       return MPI::n_mpi_processes (mpi_communicator);

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.