]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
modify Monotonic(bool increasing, eps)
authorcvw <cvw>
Thu, 16 Feb 2012 13:46:16 +0000 (13:46 +0000)
committercvw <cvw>
Thu, 16 Feb 2012 13:46:16 +0000 (13:46 +0000)
src/MEDCoupling/MEDCouplingCMesh.cxx
src/MEDCoupling/MEDCouplingMemArray.hxx

index 879e6e7ab410a799633bd3d6482429420d6a97e5..cddd1b8197299a2c02c9f829052afeefac502c5f 100644 (file)
@@ -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)
index 99303157801e2ca80a0e2638875b9cc0bae3eda0..f6e7bfcf54728505683b6761c39379a672a61709 100644 (file)
@@ -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);