[cig-commits] r15616 - short/3D/PyLith/trunk/libsrc/faults

brad at geodynamics.org brad at geodynamics.org
Fri Aug 28 09:26:50 PDT 2009


Author: brad
Date: 2009-08-28 09:26:49 -0700 (Fri, 28 Aug 2009)
New Revision: 15616

Modified:
   short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc
Log:
Fixed bug in setting cumulative slip (need to zero section even if using slip increment).

Modified: short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc	2009-08-28 16:21:59 UTC (rev 15615)
+++ short/3D/PyLith/trunk/libsrc/faults/FaultCohesiveKin.cc	2009-08-28 16:26:49 UTC (rev 15616)
@@ -650,8 +650,7 @@
   // Update cumulative slip
   topology::Field<topology::SubMesh>& cumSlip = _fields->get("cumulative slip");
   topology::Field<topology::SubMesh>& slip = _fields->get("slip");
-  if (!_useSolnIncr)
-    cumSlip.zero();
+  cumSlip.zero();
   cumSlip += slip;
 } // updateStateVars
 



More information about the CIG-COMMITS mailing list