[cig-commits] r3912 -
short/3D/PyLith/branches/pylith-0.8/tutorials/reversenog/archive
baagaard at geodynamics.org
baagaard at geodynamics.org
Mon Jul 3 13:43:48 PDT 2006
Author: baagaard
Date: 2006-07-03 13:43:48 -0700 (Mon, 03 Jul 2006)
New Revision: 3912
Modified:
short/3D/PyLith/branches/pylith-0.8/tutorials/reversenog/archive/runbm.py
short/3D/PyLith/branches/pylith-0.8/tutorials/reversenog/archive/tutor.py
Log:
Tutorial. Updated tutor to use Python runbm.
Modified: short/3D/PyLith/branches/pylith-0.8/tutorials/reversenog/archive/runbm.py
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/tutorials/reversenog/archive/runbm.py 2006-07-03 20:36:49 UTC (rev 3911)
+++ short/3D/PyLith/branches/pylith-0.8/tutorials/reversenog/archive/runbm.py 2006-07-03 20:43:48 UTC (rev 3912)
@@ -41,6 +41,7 @@
print " %s -> %s... already exists" % (dest, src)
return
+
# ----------------------------------------------------------------------
def run(nprocs):
print "Running PyLith..."
@@ -60,6 +61,7 @@
os.system(cmd)
return
+
# ----------------------------------------------------------------------
if __name__ == "__main__":
from optparse import OptionParser
@@ -79,4 +81,5 @@
setupInput(nprocs)
run(nprocs)
+
# End of file
Modified: short/3D/PyLith/branches/pylith-0.8/tutorials/reversenog/archive/tutor.py
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/tutorials/reversenog/archive/tutor.py 2006-07-03 20:36:49 UTC (rev 3911)
+++ short/3D/PyLith/branches/pylith-0.8/tutorials/reversenog/archive/tutor.py 2006-07-03 20:43:48 UTC (rev 3912)
@@ -52,7 +52,7 @@
fragments = [ [root], [".coord", ".connect", ".split", ".bc",
".fuldat", ".prop", ".statevar", ".time"] ]
files['input'] += assembleStrings(fragments)
- files['input'] += ["runbm5.sh"]
+ files['input'] += ["runbm.py"]
root1 = root + "_1"
fragments = [ [root1], [".coord", ".connect", ".split", ".bc"] ]
@@ -83,7 +83,7 @@
fragments = [ [root], [".coord", ".connect", ".split", ".bc",
".fuldat", ".prop", ".statevar", ".time"] ]
files['input'] += assembleStrings(fragments)
- files['input'] += ["runbm5.sh"]
+ files['input'] += ["runbm.py"]
root1 = root + "_2"
fragments = [ [root1], [".coord", ".connect", ".split", ".bc"] ]
More information about the cig-commits
mailing list