From ea4dfa210afb73c2c74df0d55cd1f73b7f943c49 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 8 Aug 2013 10:53:42 +0000 Subject: [PATCH] For load balancing on // interpolation - MEDCouplingPointSet::ComputeNbOfInteractionsWithSrcCells - DataArrayDouble::computeNbOfInteractionsWith - DataArrayInt::splitInBalancedSlices --- src/MEDCoupling/MEDCouplingMemArray.cxx | 5 ++++- src/MEDCoupling_Swig/MEDCouplingBasicsTest.py | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/src/MEDCoupling/MEDCouplingMemArray.cxx b/src/MEDCoupling/MEDCouplingMemArray.cxx index e96490c05..9c2fda8fa 100644 --- a/src/MEDCoupling/MEDCouplingMemArray.cxx +++ b/src/MEDCoupling/MEDCouplingMemArray.cxx @@ -9932,7 +9932,10 @@ std::vector< std::pair > DataArrayInt::splitInBalancedSlices(int nbOfSl std::pair p(pos,-1); int locSum(0); while(locSum