From 48659fa9ff802f66762a0d77b7b3209a7b79746c Mon Sep 17 00:00:00 2001 From: ageay Date: Mon, 28 Jun 2010 13:18:11 +0000 Subject: [PATCH] API change of DECs constructors. --- src/ParaMEDMEMTest/ParaMEDMEMTest_FabienAPI.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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(); -- 2.39.2