X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNELTest%2FInterpolation3DTest.cxx;h=c0349a5ffc1d71ae67c440dc6d41b29543492341;hb=c4551c56aa89896595842e5b41b048044681b4e8;hp=dbeb6ec67bfca737ad8fd066156d7d7e48de3a6f;hpb=b6c89e5886e9b348c00d3d6c23a265f89613cbc7;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNELTest/Interpolation3DTest.cxx b/src/INTERP_KERNELTest/Interpolation3DTest.cxx index dbeb6ec67..c0349a5ff 100644 --- a/src/INTERP_KERNELTest/Interpolation3DTest.cxx +++ b/src/INTERP_KERNELTest/Interpolation3DTest.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 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 @@ -42,7 +42,7 @@ //#define VOL_PREC 1.0e-6 -using namespace ParaMEDMEM; +using namespace MEDCoupling; using namespace INTERP_KERNEL; double Interpolation3DTest::sumRow(const IntersectionMatrix& m, int i) const @@ -71,9 +71,9 @@ double Interpolation3DTest::sumCol(const IntersectionMatrix& m, int i) const } -void Interpolation3DTest::getVolumes(ParaMEDMEM::MEDCouplingUMesh& mesh, double *tab) const +void Interpolation3DTest::getVolumes(MEDCoupling::MEDCouplingUMesh& mesh, double *tab) const { - MEDCouplingAutoRefCountObjectPtr vol=mesh->getMeasureField(true); + MCAuto vol=mesh->getMeasureField(true); std::copy(vol->getArray()->begin(),vol->getArray()->end(),tab); } @@ -264,8 +264,8 @@ void Interpolation3DTest::tearDown() void Interpolation3DTest::calcIntersectionMatrix(const char* mesh1path, const char* mesh1, const char* mesh2path, const char* mesh2, IntersectionMatrix& m) const { string dataDir = ""; - if ( getenv("MEDTOOL_ROOT_DIR") ) { - dataDir = getenv("MEDTOOL_ROOT_DIR"); + if ( getenv("MEDCOUPLING_ROOT_DIR") ) { + dataDir = getenv("MEDCOUPLING_ROOT_DIR"); dataDir += "/share/resources/med/"; } else {