X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingUMesh.txx;h=5fcf47e52aa19d5fcae97e92b4e7431c8ee004e5;hb=e7a9d4f59978fd384ee98db1dfdd5ec2118331ca;hp=f2a692b041c5c47d3d65e6ce351d35bd9c2467c4;hpb=06a1e47785f4fc717910e0ba2fd562a238e5e932;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingUMesh.txx b/src/MEDCoupling/MEDCouplingUMesh.txx index f2a692b04..5fcf47e52 100644 --- a/src/MEDCoupling/MEDCouplingUMesh.txx +++ b/src/MEDCoupling/MEDCouplingUMesh.txx @@ -1,4 +1,4 @@ -// Copyright (C) 2018 CEA/DEN, EDF R&D +// Copyright (C) 2018-2020 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -27,13 +27,13 @@ template void MEDCoupling::MEDCouplingUMesh::renumberNodesInConnT(const MAPCLS& newNodeNumbersO2N) { checkConnectivityFullyDefined(); - int *conn(getNodalConnectivity()->getPointer()); - const int *connIndex(getNodalConnectivityIndex()->getConstPointer()); - int nbOfCells(getNumberOfCells()); - for(int i=0;igetPointer()); + const mcIdType *connIndex(getNodalConnectivityIndex()->getConstPointer()); + mcIdType nbOfCells=ToIdType(getNumberOfCells()); + for(mcIdType i=0;i=0)//avoid polyhedron separator { auto it(newNodeNumbersO2N.find(node));