[cig-commits] r19543 - short/3D/PyLith/benchmarks/trunk/dynamic/scecdynrup/tpv205
brad at geodynamics.org
brad at geodynamics.org
Tue Jan 31 17:35:09 PST 2012
Author: brad
Date: 2012-01-31 17:35:09 -0800 (Tue, 31 Jan 2012)
New Revision: 19543
Modified:
short/3D/PyLith/benchmarks/trunk/dynamic/scecdynrup/tpv205/tabulate_onfaultdata.py
Log:
Corrected signs of vertical components. Updated PyLith version number.
Modified: short/3D/PyLith/benchmarks/trunk/dynamic/scecdynrup/tpv205/tabulate_onfaultdata.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/dynamic/scecdynrup/tpv205/tabulate_onfaultdata.py 2012-02-01 01:34:24 UTC (rev 19542)
+++ short/3D/PyLith/benchmarks/trunk/dynamic/scecdynrup/tpv205/tabulate_onfaultdata.py 2012-02-01 01:35:09 UTC (rev 19543)
@@ -93,7 +93,7 @@
"# author = Brad Aagaard\n" + \
"# date = %s\n" % (time.asctime()) + \
"# code = PyLith\n" + \
- "# code_version = 1.6.2\n" + \
+ "# code_version = 1.7.0a (scecdynrup branch)\n" + \
"# element_size = %s\n" % dx
headerB = \
"# Time series in 7 columns of E14.6:\n" + \
@@ -128,10 +128,10 @@
fout.write(headerB)
data = numpy.transpose((timeStamps,
-slip[:,iloc,0],
- +slip_rate[:,iloc,0],
+ -slip_rate[:,iloc,0],
-traction[:,iloc,0]/1e+6,
- +slip[:,iloc,1],
+ -slip[:,iloc,1],
-slip_rate[:,iloc,1],
- +traction[:,iloc,1]/1e+6))
+ -traction[:,iloc,1]/1e+6))
numpy.savetxt(fout, data, fmt='%14.6e')
fout.close()
More information about the CIG-COMMITS
mailing list