[cig-commits] r17094 - short/3D/PyLith/branches/v1.5-stable/libsrc/materials

willic3 at geodynamics.org willic3 at geodynamics.org
Mon Aug 16 15:30:59 PDT 2010


Author: willic3
Date: 2010-08-16 15:30:59 -0700 (Mon, 16 Aug 2010)
New Revision: 17094

Modified:
   short/3D/PyLith/branches/v1.5-stable/libsrc/materials/DruckerPrager3D.cc
Log:
Changed possible values for cohesion so it can be equal to zero but not
less than zero.


Modified: short/3D/PyLith/branches/v1.5-stable/libsrc/materials/DruckerPrager3D.cc
===================================================================
--- short/3D/PyLith/branches/v1.5-stable/libsrc/materials/DruckerPrager3D.cc	2010-08-16 20:37:29 UTC (rev 17093)
+++ short/3D/PyLith/branches/v1.5-stable/libsrc/materials/DruckerPrager3D.cc	2010-08-16 22:30:59 UTC (rev 17094)
@@ -195,7 +195,7 @@
   const double dilatationAngle = dbValues[db_dilatationAngle];
  
   if (density <= 0.0 || vs <= 0.0 || vp <= 0.0 || frictionAngle < 0.0
-      || cohesion <= 0.0 || dilatationAngle < 0.0
+      || cohesion < 0.0 || dilatationAngle < 0.0
       || frictionAngle < dilatationAngle) {
     std::ostringstream msg;
     msg << "Spatial database returned illegal value for physical "



More information about the CIG-COMMITS mailing list