]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Ready for integration into master agy/para_mesh_opt_4
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 9 Nov 2020 07:58:36 +0000 (08:58 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 9 Nov 2020 07:58:36 +0000 (08:58 +0100)
src/ParaMEDMEM/ParaUMesh.cxx

index 1d0637064f949d8b5f2d45d58c1bf2e2ca64838d..7503a36aaa720b2144585da5741a183b00436450 100644 (file)
@@ -152,9 +152,8 @@ MCAuto<DataArrayIdType> ParaUMesh::getCellIdsLyingOnNodesFalse(const DataArrayId
 {
   MPI_Comm comm(MPI_COMM_WORLD);
   CommInterface ci;
-  int size,rkk;
+  int size;
   ci.commSize(comm,&size);
-  ci.commRank(comm,&rkk);
   std::unique_ptr<mcIdType[]> nbOfElems(new mcIdType[size]),nbOfElems2(new mcIdType[size]),nbOfElems3(new mcIdType[size]);
   mcIdType nbOfNodeIdsLoc(globalNodeIds->getNumberOfTuples());
   ci.allGather(&nbOfNodeIdsLoc,1,MPI_ID_TYPE,nbOfElems.get(),1,MPI_ID_TYPE,comm);