[cig-commits] r21664 - short/3D/PyLith/branches/v1.8-stable/libsrc/pylith/feassemble

brad at geodynamics.org brad at geodynamics.org
Wed Mar 27 14:45:07 PDT 2013


Author: brad
Date: 2013-03-27 14:45:07 -0700 (Wed, 27 Mar 2013)
New Revision: 21664

Modified:
   short/3D/PyLith/branches/v1.8-stable/libsrc/pylith/feassemble/QuadratureEngine.cc
Log:
Improve error message for small Jacobian (length scale for nondimensionalization could be the culprit.

Modified: short/3D/PyLith/branches/v1.8-stable/libsrc/pylith/feassemble/QuadratureEngine.cc
===================================================================
--- short/3D/PyLith/branches/v1.8-stable/libsrc/pylith/feassemble/QuadratureEngine.cc	2013-03-27 21:43:40 UTC (rev 21663)
+++ short/3D/PyLith/branches/v1.8-stable/libsrc/pylith/feassemble/QuadratureEngine.cc	2013-03-27 21:45:07 UTC (rev 21664)
@@ -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