From: cvw Date: Thu, 16 Feb 2012 13:46:16 +0000 (+0000) Subject: modify Monotonic(bool increasing, eps) X-Git-Tag: V6_main_FINAL~858 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=29e00af436a141c256ecf4fcd9c9335c3b17a02a;p=tools%2Fmedcoupling.git modify Monotonic(bool increasing, eps) --- diff --git a/src/MEDCoupling/MEDCouplingCMesh.cxx b/src/MEDCoupling/MEDCouplingCMesh.cxx index 879e6e7ab..cddd1b819 100644 --- a/src/MEDCoupling/MEDCouplingCMesh.cxx +++ b/src/MEDCoupling/MEDCouplingCMesh.cxx @@ -225,11 +225,11 @@ void MEDCouplingCMesh::checkCoherency1(double eps) const throw(INTERP_KERNEL::Ex { checkCoherency(); if(_x_array) - _x_array->checkMonotonic(eps); + _x_array->checkMonotonic(true, eps); if(_y_array) - _y_array->checkMonotonic(eps); + _y_array->checkMonotonic(true, eps); if(_z_array) - _z_array->checkMonotonic(eps); + _z_array->checkMonotonic(true, eps); } void MEDCouplingCMesh::checkCoherency2(double eps) const throw(INTERP_KERNEL::Exception) diff --git a/src/MEDCoupling/MEDCouplingMemArray.hxx b/src/MEDCoupling/MEDCouplingMemArray.hxx index 993031578..f6e7bfcf5 100644 --- a/src/MEDCoupling/MEDCouplingMemArray.hxx +++ b/src/MEDCoupling/MEDCouplingMemArray.hxx @@ -147,8 +147,8 @@ namespace ParaMEDMEM MEDCOUPLING_EXPORT bool isUniform(double val, double eps) const; MEDCOUPLING_EXPORT void sort() throw(INTERP_KERNEL::Exception); MEDCOUPLING_EXPORT void reverse() throw(INTERP_KERNEL::Exception); - MEDCOUPLING_EXPORT void checkMonotonic(double eps) const throw(INTERP_KERNEL::Exception); - MEDCOUPLING_EXPORT bool isMonotonic(double eps) const throw(INTERP_KERNEL::Exception); + MEDCOUPLING_EXPORT void checkMonotonic(bool increasing, double eps) const throw(INTERP_KERNEL::Exception); + MEDCOUPLING_EXPORT bool isMonotonic(bool increasing, double eps) const throw(INTERP_KERNEL::Exception); MEDCOUPLING_EXPORT std::string repr() const; MEDCOUPLING_EXPORT std::string reprZip() const; MEDCOUPLING_EXPORT void writeVTK(std::ostream& ofs, int indent, const char *nameInFile) const throw(INTERP_KERNEL::Exception);