X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNELTest%2FMEDMeshMaker.cxx;h=70245d3f2e762b8cf37aa0b7a6695b566490ed3a;hb=b832b15337be013a56e0976170e5e235b89fcb03;hp=f0538b113bcdd96a57e5c0b89b5b218af6e4ec55;hpb=3c911ce36f5caa779ea60042e738fa57671a44b1;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNELTest/MEDMeshMaker.cxx b/src/INTERP_KERNELTest/MEDMeshMaker.cxx index f0538b113..70245d3f2 100644 --- a/src/INTERP_KERNELTest/MEDMeshMaker.cxx +++ b/src/INTERP_KERNELTest/MEDMeshMaker.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D +// Copyright (C) 2007-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -17,17 +17,17 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -#include "MEDCouplingAutoRefCountObjectPtr.hxx" +#include "MCAuto.hxx" #include "MEDCouplingCMesh.hxx" #include "MEDMeshMaker.hxx" -using namespace ParaMEDMEM; +using namespace MEDCoupling; -ParaMEDMEM::MEDCouplingUMesh *MEDMeshMaker(int dim, int nbedge) +MEDCoupling::MEDCouplingUMesh *MEDMeshMaker(int dim, int nbedge) { - MEDCouplingAutoRefCountObjectPtr c=MEDCouplingCMesh::New(); - MEDCouplingAutoRefCountObjectPtr arr=DataArrayDouble::New(); + MCAuto c=MEDCouplingCMesh::New(); + MCAuto arr=DataArrayDouble::New(); arr->alloc(nbedge+1,1); arr->iota(0.); arr->applyLin(1./double(nbedge),0.); switch(dim) {