[cig-commits] r16614 - short/3D/PyLith/trunk/libsrc/problems

brad at geodynamics.org brad at geodynamics.org
Mon May 3 18:17:42 PDT 2010


Author: brad
Date: 2010-05-03 18:17:42 -0700 (Mon, 03 May 2010)
New Revision: 16614

Modified:
   short/3D/PyLith/trunk/libsrc/problems/SolverLumped.cc
Log:
Move function call to inside logged event.

Modified: short/3D/PyLith/trunk/libsrc/problems/SolverLumped.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/problems/SolverLumped.cc	2010-05-04 00:58:32 UTC (rev 16613)
+++ short/3D/PyLith/trunk/libsrc/problems/SolverLumped.cc	2010-05-04 01:17:42 UTC (rev 16614)
@@ -136,10 +136,10 @@
   // Adjust solution to match constraints
   _formulation->adjustSolnLumped();
 
+  // Update rate fields to be consistent with adjusted solution.
+  _formulation->calcRateFields(); // :KLUDGE: Limit to only those changed?
+
   _logger->eventEnd(adjustEvent);
-
-  // Update rate fields to be consistent with current solution.
-  _formulation->calcRateFields(); // :KLUDGE: Update only those changed in FaultCohesiveDyn
 } // solve
 
 // ----------------------------------------------------------------------



More information about the CIG-COMMITS mailing list