[cig-commits] r16313 - short/3D/PyLith/trunk/modulesrc/friction
brad at geodynamics.org
brad at geodynamics.org
Mon Feb 22 16:28:40 PST 2010
Author: brad
Date: 2010-02-22 16:28:40 -0800 (Mon, 22 Feb 2010)
New Revision: 16313
Modified:
short/3D/PyLith/trunk/modulesrc/friction/FrictionModel.i
Log:
Worked on fixing unit tests for updateStateVars() for friction models.
Modified: short/3D/PyLith/trunk/modulesrc/friction/FrictionModel.i
===================================================================
--- short/3D/PyLith/trunk/modulesrc/friction/FrictionModel.i 2010-02-23 00:11:33 UTC (rev 16312)
+++ short/3D/PyLith/trunk/modulesrc/friction/FrictionModel.i 2010-02-23 00:28:40 UTC (rev 16313)
@@ -158,6 +158,19 @@
const double normalTraction);
+ /** Compute friction at vertex.
+ *
+ * @pre Must call retrievePropsAndVars for cell before calling
+ * calcFriction().
+ *
+ * @param slip Current slip at location.
+ * @param slipRate Current slip rate at location.
+ * @param normalTraction Normal traction at location.
+ */
+ void updateStateVars(const double slip,
+ const double slipRate,
+ const double normalTraction);
+
// PROTECTED METHODS //////////////////////////////////////////////
protected :
More information about the CIG-COMMITS
mailing list