X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParaMEDMEMTest%2FParaMEDMEMTest_FabienAPI.cxx;h=357ec3433f80d6705398d6421ce852e446fcc4d5;hb=dcc261ea8b9015285a05b5f7bc2960d883815c9a;hp=e619548c30a05e863f5788aea8fc4028bb5263f6;hpb=1e36a6710aab710674e20fbd89f6a9a8f238c023;p=tools%2Fmedcoupling.git diff --git a/src/ParaMEDMEMTest/ParaMEDMEMTest_FabienAPI.cxx b/src/ParaMEDMEMTest/ParaMEDMEMTest_FabienAPI.cxx index e619548c3..357ec3433 100644 --- a/src/ParaMEDMEMTest/ParaMEDMEMTest_FabienAPI.cxx +++ b/src/ParaMEDMEMTest/ParaMEDMEMTest_FabienAPI.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 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);