Salome HOME
MEDFileCurveLinearMesh -> getSpaceDimension() was missing
[tools/medcoupling.git] / src / ParaMEDMEMTest / ParaMEDMEMTest_FabienAPI.cxx
index 6e3d5a80c2f6fb11ea059e82aec265822e9b3d47..357ec3433f80d6705398d6421ce852e446fcc4d5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020  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
@@ -65,7 +65,7 @@ void ParaMEDMEMTest::testFabienAPI1()
       std::copy(targetCoords,targetCoords+8,myCoords->getPointer());
       mesh->setCoords(myCoords);
       myCoords->decrRef();
-      int targetConn[4]={0,2,3,1};
+      mcIdType targetConn[4]={0,2,3,1};
       mesh->allocateCells(1);
       mesh->insertNextCell(INTERP_KERNEL::NORM_QUAD4,4,targetConn);
       mesh->finishInsertingCells();
@@ -85,7 +85,7 @@ void ParaMEDMEMTest::testFabienAPI1()
       std::copy(targetCoords,targetCoords+8,myCoords->getPointer());
       mesh->setCoords(myCoords);
       myCoords->decrRef();
-      int targetConn[6]={0,2,1,2,3,1};
+      mcIdType targetConn[6]={0,2,1,2,3,1};
       mesh->allocateCells(2);
       mesh->insertNextCell(INTERP_KERNEL::NORM_TRI3,3,targetConn);
       mesh->insertNextCell(INTERP_KERNEL::NORM_TRI3,3,targetConn+3);
@@ -150,7 +150,7 @@ void ParaMEDMEMTest::testFabienAPI2()
       std::copy(targetCoords,targetCoords+8,myCoords->getPointer());
       mesh->setCoords(myCoords);
       myCoords->decrRef();
-      int targetConn[4]={0,2,3,1};
+      mcIdType targetConn[4]={0,2,3,1};
       mesh->allocateCells(1);
       mesh->insertNextCell(INTERP_KERNEL::NORM_QUAD4,4,targetConn);
       mesh->finishInsertingCells();
@@ -170,7 +170,7 @@ void ParaMEDMEMTest::testFabienAPI2()
       std::copy(targetCoords,targetCoords+8,myCoords->getPointer());
       mesh->setCoords(myCoords);
       myCoords->decrRef();
-      int targetConn[6]={0,2,1,2,3,1};
+      mcIdType targetConn[6]={0,2,1,2,3,1};
       mesh->allocateCells(2);
       mesh->insertNextCell(INTERP_KERNEL::NORM_TRI3,3,targetConn);
       mesh->insertNextCell(INTERP_KERNEL::NORM_TRI3,3,targetConn+3);