Commit b60071b2 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Added default communication group to MpiCommunicator::Barrier.

parent 7fe989d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -283,7 +283,7 @@ class MpiCommunicator
#endif
#endif
        }
        }


         static void Barrier(CommunicationGroup group)
         static void Barrier( CommunicationGroup group = AllGroup )
         {
         {
#ifdef HAVE_MPI
#ifdef HAVE_MPI
            TNL_ASSERT_TRUE(IsInitialized(), "Fatal Error - MPI communicator is not initialized");
            TNL_ASSERT_TRUE(IsInitialized(), "Fatal Error - MPI communicator is not initialized");