Salome HOME
MEDCoupling API renaming - stage #2
[tools/medcoupling.git] / src / INTERP_KERNELTest / Interpolation3DTest.cxx
index 1cdf7d2e30e31e10156835b801712954e5bd8def..f9bc93df16a1f95e3ab42af4270ca512e84d188f 100644 (file)
@@ -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<MEDCouplingFieldDouble> vol=mesh->getMeasureField(true);
+  MCAuto<MEDCouplingFieldDouble> vol=mesh->getMeasureField(true);
   std::copy(vol->getArray()->begin(),vol->getArray()->end(),tab);
 }