[cig-commits] r21674 - in short/3D/PyLith/trunk: modulesrc/faults pylith/faults
brad at geodynamics.org
brad at geodynamics.org
Thu Mar 28 13:22:31 PDT 2013
Author: brad
Date: 2013-03-28 13:22:31 -0700 (Thu, 28 Mar 2013)
New Revision: 21674
Modified:
short/3D/PyLith/trunk/modulesrc/faults/FaultCohesiveTract.i
short/3D/PyLith/trunk/pylith/faults/FaultCohesiveTract.py
Log:
Remove superfluous method.
Modified: short/3D/PyLith/trunk/modulesrc/faults/FaultCohesiveTract.i
===================================================================
--- short/3D/PyLith/trunk/modulesrc/faults/FaultCohesiveTract.i 2013-03-28 20:22:04 UTC (rev 21673)
+++ short/3D/PyLith/trunk/modulesrc/faults/FaultCohesiveTract.i 2013-03-28 20:22:31 UTC (rev 21674)
@@ -41,12 +41,6 @@
virtual
void deallocate(void);
- /** Sets the spatial database for the inital tractions
- * @param dbs spatial database for initial tractions
- */
- void dbInitial(spatialdata::spatialdb::SpatialDB* dbs);
-
-
/** Initialize fault. Determine orientation and setup boundary
* condition parameters.
*
Modified: short/3D/PyLith/trunk/pylith/faults/FaultCohesiveTract.py
===================================================================
--- short/3D/PyLith/trunk/pylith/faults/FaultCohesiveTract.py 2013-03-28 20:22:04 UTC (rev 21673)
+++ short/3D/PyLith/trunk/pylith/faults/FaultCohesiveTract.py 2013-03-28 20:22:31 UTC (rev 21674)
@@ -36,35 +36,9 @@
Python object for a fault surface with dynamic (friction) fault
implemented with cohesive elements.
- Inventory
-
- @class Inventory
- Python object for managing FaultCohesiveTract facilities and properties.
-
- \b Properties
- @li None
-
- \b Facilities
- @li \b db_initial_tractions Spatial database for initial tractions.
- @li \b output Output manager associated with fault data.
-
Factory: fault
"""
- # INVENTORY //////////////////////////////////////////////////////////
-
- import pyre.inventory
-
- db = pyre.inventory.facility("db_initial_tractions", family="spatial_database",
- factory=NullComponent)
- db.meta['tip'] = "Spatial database for initial tractions."
-
- #from pylith.meshio.OutputFaultTract import OutputFaultTract
- #output = pyre.inventory.facility("output", family="output_manager",
- # factory=OutputFaultTract)
- #output.meta['tip'] = "Output manager associated with fault data."
-
-
# PUBLIC METHODS /////////////////////////////////////////////////////
def __init__(self, name="faultcohesivedyn"):
@@ -103,8 +77,6 @@
self.availableFields['cell']['info'] += ["strike_dir",
"dip_dir"]
- if not isinstance(self.inventory.db, NullComponent):
- self.availableFields['cell']['info'] += ["initial_traction"]
return
@@ -193,9 +165,6 @@
Setup members using inventory.
"""
FaultCohesive._configure(self)
- if not isinstance(self.inventory.db, NullComponent):
- ModuleFaultCohesiveTract.dbInitial(self, self.inventory.db)
- #self.output = self.inventory.output
return
More information about the CIG-COMMITS
mailing list