]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make compile in MPI mode.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 6 Aug 2009 16:07:05 +0000 (16:07 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 6 Aug 2009 16:07:05 +0000 (16:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@19193 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/utilities.cc

index 7b791c0e2399007c3b441b2f47e22c08603ca01e..0d242560f29809ed2cee1eac4225213603ab0df4 100644 (file)
@@ -617,10 +617,11 @@ namespace Utilities
                                       // see if the communicator is in fact a
                                       // parallel MPI communicator; if so,
                                       // return a duplicate of it
-      Epetra_MpiComm
+      const Epetra_MpiComm
        *mpi_comm = dynamic_cast<const Epetra_MpiComm *>(&communicator);
       if (mpi_comm != 0)
-       return new Epetra_MpiComm(duplicate_communicator(mpi_comm->GetMpiComm()));
+       return new Epetra_MpiComm(Utilities::System::
+                                 duplicate_communicator(mpi_comm->GetMpiComm()));
 #endif
 
                                       // if we don't support MPI, or if the

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.