[cig-commits] r6355 - short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d

willic3 at geodynamics.org willic3 at geodynamics.org
Thu Mar 22 14:04:22 PDT 2007


Author: willic3
Date: 2007-03-22 14:04:21 -0700 (Thu, 22 Mar 2007)
New Revision: 6355

Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_scan.py
Log:
Added sampleLocationFile to inventory for sample locations of Green's functions.
Setup is kludgy right now, because file is listed as 'optional'.
It should actually be listed as 'required' if Green's functions are being
computed, but I don't have a way of signaling that right now.


Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_scan.py
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_scan.py	2007-03-22 19:58:11 UTC (rev 6354)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/pylith3d/Pylith3d_scan.py	2007-03-22 21:04:21 UTC (rev 6355)
@@ -99,6 +99,7 @@
         self._slipperyNodeInputFile       = inputFile(Inventory.slipperyNodeInputFile,       unused)
         self._differentialForceInputFile  = inputFile(Inventory.differentialForceInputFile,  unused)
         self._slipperyWinklerInputFile    = inputFile(Inventory.slipperyWinklerInputFile,    unused)
+        self._sampleLocationFile          = inputFile(Inventory.sampleLocationFile,          optional)
 
         # The call to glob() is somewhat crude -- basically, determine
         # if any files might be in the way.
@@ -756,6 +757,9 @@
         loadHistoryInputFile = InputFile("loadHistoryInputFile",default="${inputFileRoot}.hist")
         loadHistoryInputFile.meta['tip'] = "Pathname for file defining load histories (overrides default from inputFileRoot)."
 
+        sampleLocationFile = InputFile("sampleLocationFile",default="${inputFileRoot}.sample")
+        sampleLocationFile.meta['tip'] = "Pathname for Green's function sample locations (overrides default from inputFileRoot)."
+
         splitNodeInputFile = InputFile("splitNodeInputFile",default="${inputFileRoot}.split")
         splitNodeInputFile.meta['tip'] = "Pathname for split node input file (overrides default from inputFileRoot)."
 



More information about the cig-commits mailing list