Commit 947efd55 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed formatting with clang-format

parent f63c21a2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -46,7 +46,8 @@ public:
                         IndexType globalSize,
                         MPI::Comm communicator,
                         LocalViewType localData )
   : localRange( localRange ), ghosts( ghosts ), globalSize( globalSize ), communicator( std::move( communicator ) ), localData( localData )
   : localRange( localRange ), ghosts( ghosts ), globalSize( globalSize ), communicator( std::move( communicator ) ),
     localData( localData )
   {
      TNL_ASSERT_EQ( localData.getSize(),
                     localRange.getSize() + ghosts,
+2 −1
Original line number Diff line number Diff line
@@ -247,7 +247,8 @@ public:
    * "simultaneously". It is equivalent to calling \ref MPI_Barrier with the
    * MPI communicator associated with this object.
    */
   void barrier() const
   void
   barrier() const
   {
      Barrier( *this );
   }
+2 −2
Original line number Diff line number Diff line
@@ -209,8 +209,8 @@ optimizeRanks( const MPI::Comm& communicator, const CommPattern& communicationPa

   if( rank == 0 ) {
      const auto rank_costs = getCommunicationCosts( costMatrix, communicationPattern, perm );
      std::cout << "restored best permutation " << perm << " with cost vector " << rank_costs << " sum " << TNL::sum( rank_costs )
                << std::endl;
      std::cout << "restored best permutation " << perm << " with cost vector " << rank_costs << " sum "
                << TNL::sum( rank_costs ) << std::endl;
   }

   // create a communicator comprising all processes, but with permuted ranks
+1 −1

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

Loading