From 29e00af436a141c256ecf4fcd9c9335c3b17a02a Mon Sep 17 00:00:00 2001 From: cvw Date: Thu, 16 Feb 2012 13:46:16 +0000 Subject: [PATCH] modify Monotonic(bool increasing, eps) --- src/MEDCoupling/MEDCouplingCMesh.cxx | 6 +++--- src/MEDCoupling/MEDCouplingMemArray.hxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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); -- 2.39.2