[cig-commits] r21562 - short/3D/PyLith/trunk/libsrc/pylith/feassemble

brad at geodynamics.org brad at geodynamics.org
Mon Mar 18 16:41:14 PDT 2013


Author: brad
Date: 2013-03-18 16:41:14 -0700 (Mon, 18 Mar 2013)
New Revision: 21562

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/feassemble/QuadratureEngine.cc
Log:
Improved error message.

Modified: short/3D/PyLith/trunk/libsrc/pylith/feassemble/QuadratureEngine.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/feassemble/QuadratureEngine.cc	2013-03-18 20:48:44 UTC (rev 21561)
+++ short/3D/PyLith/trunk/libsrc/pylith/feassemble/QuadratureEngine.cc	2013-03-18 23:41:14 UTC (rev 21562)
@@ -107,7 +107,10 @@
     std::ostringstream msg;
     msg << "Determinant of Jacobian (" << det << ") for cell " << cell
 	<< " is smaller than minimum permissible value (" << minJacobian
-	<< ")!\n";
+	<< ")!\n"
+	<< "The two most likely causes of this are highly distorted cells "
+	<< "and nondimensionalization with a length scale that is much larger "
+	<< "than the dimensions of the cells.\n";
     throw std::runtime_error(msg.str());
   } // if
 } // _checkJacobianDet



More information about the CIG-COMMITS mailing list