From: geay Date: Thu, 22 May 2014 15:18:25 +0000 (+0200) Subject: OK for first tests in 3D. X-Git-Tag: V7_5_0a1~37^2~37 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ac9716e98e300d23c008f1397892b5ef99feb82b;p=modules%2Fmed.git OK for first tests in 3D. --- diff --git a/src/MEDCoupling/MEDCouplingCartesianAMRMesh.cxx b/src/MEDCoupling/MEDCouplingCartesianAMRMesh.cxx index b73244d43..9436290c9 100644 --- a/src/MEDCoupling/MEDCouplingCartesianAMRMesh.cxx +++ b/src/MEDCoupling/MEDCouplingCartesianAMRMesh.cxx @@ -291,14 +291,13 @@ void FindHole(const INTERP_KERNEL::BoxSplittingOptions& bso, const InternalPatch if(signature[i]==0) if(len>= 2*minCellDirection && i >= minCellDirection-1 && i <= len-minCellDirection-1) hole.push_back(i); - if (hole.size()>0) + if(!hole.empty()) { double center(((double)len/2.)); for(std::size_t i=0;igetConstPart()[axisId].first+1; @@ -331,6 +330,8 @@ void FindInflection(const INTERP_KERNEL::BoxSplittingOptions& bso, const Interna // Gradient absolute value for ( unsigned int i=1;i si empty le reste plante ! + continue; for (unsigned int i=0;i& st, c { nxMin=std::min(nxMin,k); nxMax=std::max(nxMax,k); nyMin=std::min(nyMin,j); nyMax=std::max(nyMax,j); - nzMin=std::min(nyMin,i); nzMax=std::max(nyMax,i); + nzMin=std::min(nzMin,i); nzMax=std::max(nzMax,i); ret++; } }