From: ageay Date: Mon, 28 Jun 2010 13:18:11 +0000 (+0000) Subject: API change of DECs constructors. X-Git-Tag: V5_1_main_FINAL~109 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=48659fa9ff802f66762a0d77b7b3209a7b79746c;p=tools%2Fmedcoupling.git API change of DECs constructors. --- diff --git a/src/ParaMEDMEMTest/ParaMEDMEMTest_FabienAPI.cxx b/src/ParaMEDMEMTest/ParaMEDMEMTest_FabienAPI.cxx index 92c33f5b3..35ee51d16 100644 --- a/src/ParaMEDMEMTest/ParaMEDMEMTest_FabienAPI.cxx +++ b/src/ParaMEDMEMTest/ParaMEDMEMTest_FabienAPI.cxx @@ -40,8 +40,10 @@ void ParaMEDMEMTest::testFabienAPI1() // if(size!=3) return ; - int procs_source[1]={0}; - int procs_target[1]={1}; + int procs_source_c[1]={0}; + std::set procs_source(procs_source_c,procs_source_c+1); + int procs_target_c[1]={1}; + std::set procs_target(procs_target_c,procs_target_c+1); // ParaMEDMEM::MEDCouplingUMesh *mesh=0; ParaMEDMEM::ParaMESH *paramesh=0; @@ -53,7 +55,7 @@ void ParaMEDMEMTest::testFabienAPI1() double targetCoords[8]={ 0.,0., 1., 0., 0., 1., 1., 1. }; CommInterface comm; // - ParaMEDMEM::InterpKernelDEC *dec=new ParaMEDMEM::InterpKernelDEC(procs_source,procs_source+1,procs_target,procs_target+1); + ParaMEDMEM::InterpKernelDEC *dec=new ParaMEDMEM::InterpKernelDEC(procs_source,procs_target); if(dec->isInSourceSide()) { mesh=MEDCouplingUMesh::New();