X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCoupling1GTUMesh.txx;h=bb224b1e8b91967fe7c80ef2fb187b6e2ec70feb;hb=38b974ecc3f627da9eb42c01bda66bd051b81c2a;hp=e6ee85403589a20dc2470a027d42165345ca4676;hpb=0f701440d44fa7cb707df111658460ef5c447ff3;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCoupling1GTUMesh.txx b/src/MEDCoupling/MEDCoupling1GTUMesh.txx index e6ee85403..bb224b1e8 100644 --- a/src/MEDCoupling/MEDCoupling1GTUMesh.txx +++ b/src/MEDCoupling/MEDCoupling1GTUMesh.txx @@ -1,4 +1,4 @@ -// Copyright (C) 2018 CEA/DEN, EDF R&D +// Copyright (C) 2018-2021 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,10 +27,10 @@ template void MEDCoupling::MEDCoupling1SGTUMesh::renumberNodesInConnT(const MAPCLS& newNodeNumbersO2N) { getNumberOfCells();//only to check that all is well defined. - int *begPtr(_conn->getPointer()); - int nbElt(_conn->getNumberOfTuples()); - int *endPtr(begPtr+nbElt); - for(int *it=begPtr;it!=endPtr;it++) + mcIdType *begPtr(_conn->getPointer()); + mcIdType nbElt(_conn->getNumberOfTuples()); + mcIdType *endPtr(begPtr+nbElt); + for(mcIdType *it=begPtr;it!=endPtr;it++) { auto it2(newNodeNumbersO2N.find(*it)); if(it2!=newNodeNumbersO2N.end()) @@ -51,9 +51,9 @@ void MEDCoupling::MEDCoupling1DGTUMesh::renumberNodesInConnT(const MAPCLS& newNo { getNumberOfCells();//only to check that all is well defined. // - int nbOfTuples(_conn->getNumberOfTuples()); - int *pt(_conn->getPointer()); - for(int i=0;igetNumberOfTuples()); + mcIdType *pt(_conn->getPointer()); + for(mcIdType i=0;i=0)