]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
MEDMEM Industrialization 2008
authoreap <eap@opencascade.com>
Thu, 18 Dec 2008 17:35:08 +0000 (17:35 +0000)
committereap <eap@opencascade.com>
Thu, 18 Dec 2008 17:35:08 +0000 (17:35 +0000)
   fix indentation

src/ParaMEDMEM/MxN_Mapping.cxx

index 98213a930e8f668289fbeda1331ec8c95cb49f85..2aa7b338f509a279e9d4246064e708eefc928cbe 100644 (file)
@@ -218,19 +218,19 @@ void MxN_Mapping::sendRecv(double* sendfield, MEDMEM::FIELD<double>& field) cons
   }
   
   //communication phase
-       switch (getAllToAllMethod()) {
-    case Native:
-                       {
-                               const MPI_Comm* comm = group->getComm();
-                               comm_interface.allToAllV(sendbuf, sendcounts, senddispls, MPI_DOUBLE,
+  switch (getAllToAllMethod()) {
+  case Native:
+    {
+      const MPI_Comm* comm = group->getComm();
+      comm_interface.allToAllV(sendbuf, sendcounts, senddispls, MPI_DOUBLE,
                                recvbuf, recvcounts, recvdispls, MPI_DOUBLE,
                                *comm);
-                       }
-      break;
-    case PointToPoint:
-      _accessDEC->AllToAllv(sendbuf, sendcounts, senddispls, MPI_DOUBLE,
-                            recvbuf, recvcounts, recvdispls, MPI_DOUBLE);
-      break;
+    }
+    break;
+  case PointToPoint:
+    _accessDEC->AllToAllv(sendbuf, sendcounts, senddispls, MPI_DOUBLE,
+                          recvbuf, recvcounts, recvdispls, MPI_DOUBLE);
+    break;
   }  
   
   //setting zero values in the field