From a0af21d489eefdc76ef9b811edc996b1382f1713 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 22 Oct 2009 09:36:00 +0000 Subject: [PATCH] *** empty log message *** --- src/ParaMEDMEM/DECOptions.hxx | 6 +++--- src/ParaMEDMEM/MPIAccess.cxx | 4 ++-- src/ParaMEDMEM/MPIProcessorGroup.cxx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ParaMEDMEM/DECOptions.hxx b/src/ParaMEDMEM/DECOptions.hxx index c3eb41e2c..5d3448f22 100644 --- a/src/ParaMEDMEM/DECOptions.hxx +++ b/src/ParaMEDMEM/DECOptions.hxx @@ -37,10 +37,10 @@ namespace ParaMEDMEM bool _forcedRenormalization; public: DECOptions():_method("P0"), - _timeInterpolationMethod(WithoutTimeInterp), _asynchronous(false), - _forcedRenormalization(false), - _allToAllMethod(Native) + _timeInterpolationMethod(WithoutTimeInterp), + _allToAllMethod(Native), + _forcedRenormalization(false) { } diff --git a/src/ParaMEDMEM/MPIAccess.cxx b/src/ParaMEDMEM/MPIAccess.cxx index 8730045cd..70ee6a735 100644 --- a/src/ParaMEDMEM/MPIAccess.cxx +++ b/src/ParaMEDMEM/MPIAccess.cxx @@ -333,7 +333,7 @@ namespace ParaMEDMEM // SendRequestIds to a destination rank int MPIAccess::sendRequestIds(int destrank, int size, int *ArrayOfSendRequests) { - if (size < _send_requests[destrank].size() ) + if (size < (int)_send_requests[destrank].size() ) throw INTERP_KERNEL::Exception("wrong call to MPIAccess::SendRequestIds"); int i = 0 ; list< int >::const_iterator iter ; @@ -346,7 +346,7 @@ namespace ParaMEDMEM // RecvRequestIds from a sourcerank int MPIAccess::recvRequestIds(int sourcerank, int size, int *ArrayOfRecvRequests) { - if (size < _recv_requests[sourcerank].size() ) + if (size < (int)_recv_requests[sourcerank].size() ) throw INTERP_KERNEL::Exception("wrong call to MPIAccess::RecvRequestIds"); int i = 0 ; list< int >::const_iterator iter ; diff --git a/src/ParaMEDMEM/MPIProcessorGroup.cxx b/src/ParaMEDMEM/MPIProcessorGroup.cxx index d5b676781..7b16ff8d7 100644 --- a/src/ParaMEDMEM/MPIProcessorGroup.cxx +++ b/src/ParaMEDMEM/MPIProcessorGroup.cxx @@ -101,7 +101,7 @@ namespace ParaMEDMEM // copying proc_ids in ranks copy::const_iterator,int*> (proc_ids.begin(), proc_ids.end(), ranks); - for (int i=0; i< proc_ids.size();i++) + for (int i=0; i< (int)proc_ids.size();i++) if (ranks[i]>size_world-1) throw INTERP_KERNEL::Exception("invalid rank in set argument of MPIProcessorGroup constructor"); -- 2.39.2