[MOAB-dev] r5686 - MOAB/trunk/tools/mbcoupler
    rhl6856 at mcs.anl.gov 
    rhl6856 at mcs.anl.gov
       
    Wed Aug  8 14:33:35 CDT 2012
    
    
  
Author: rhl6856
Date: 2012-08-08 14:33:35 -0500 (Wed, 08 Aug 2012)
New Revision: 5686
Modified:
   MOAB/trunk/tools/mbcoupler/ElemUtil.cpp
Log:
revert bogus elemutil commit
Modified: MOAB/trunk/tools/mbcoupler/ElemUtil.cpp
===================================================================
--- MOAB/trunk/tools/mbcoupler/ElemUtil.cpp	2012-08-08 19:29:16 UTC (rev 5685)
+++ MOAB/trunk/tools/mbcoupler/ElemUtil.cpp	2012-08-08 19:33:35 UTC (rev 5686)
@@ -451,10 +451,8 @@
 
       J = jacobian(xi);
       det = J.determinant();
-      if (det < 1e-10){
-        std::cout << det << std::endl;
+      if (det < std::numeric_limits<double>::epsilon())
         throw Map::EvaluationError();
-      }
       xi -= J.inverse(1.0/det) * delta;
       delta = evaluate( xi ) - x;
     }
    
    
More information about the moab-dev
mailing list