X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDPartitioner%2FMEDPARTITIONER_JointFinder.cxx;h=5836662a6a9993b418c42567042df7b175313d5d;hb=4b4c848900cf2fb2cd8cb585c6ff21c7d284b87b;hp=ea812f8d8104eaaa46bb897b103edc035e56b9bc;hpb=659f8c67d0348350e12fde38fe8c4de1ff95dffe;p=tools%2Fmedcoupling.git diff --git a/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx b/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx index ea812f8d8..5836662a6 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx +++ b/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2016 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 @@ -50,8 +50,8 @@ void MEDPARTITIONER::JointFinder::findCommonDistantNodes() int nbproc=_domain_selector->nbProcs(); std::vector bbtree(nbdomain,(BBTreeOfDim*) 0); std::vector bbxi(nbdomain,(double*) 0); - std::vector rev(nbdomain,(ParaMEDMEM::DataArrayInt*) 0); - std::vector revIndx(nbdomain,(ParaMEDMEM::DataArrayInt*) 0); + std::vector rev(nbdomain,(MEDCoupling::DataArrayInt*) 0); + std::vector revIndx(nbdomain,(MEDCoupling::DataArrayInt*) 0); int meshDim=-1; int spaceDim=-1; @@ -60,11 +60,11 @@ void MEDPARTITIONER::JointFinder::findCommonDistantNodes() { if(!_domain_selector->isMyDomain(mydomain)) continue; - const ParaMEDMEM::MEDCouplingUMesh* myMesh=_mesh_collection.getMesh(mydomain); + const MEDCoupling::MEDCouplingUMesh* myMesh=_mesh_collection.getMesh(mydomain); meshDim = myMesh->getMeshDimension(); spaceDim= myMesh->getSpaceDimension(); - rev[mydomain] = ParaMEDMEM::DataArrayInt::New(); - revIndx[mydomain] = ParaMEDMEM::DataArrayInt::New(); + rev[mydomain] = MEDCoupling::DataArrayInt::New(); + revIndx[mydomain] = MEDCoupling::DataArrayInt::New(); myMesh->getReverseNodalConnectivity(rev[mydomain],revIndx[mydomain]); double* bbx=new double[2*spaceDim*myMesh->getNumberOfNodes()]; for (int i=0; igetNumberOfNodes()*spaceDim; i++) @@ -84,7 +84,7 @@ void MEDPARTITIONER::JointFinder::findCommonDistantNodes() { for (int itarget=0; itargetisMyDomain(isource)&&_domain_selector->isMyDomain(itarget)) continue; if (_domain_selector->isMyDomain(isource))