[cig-commits] r9162 - short/3D/PyLith/trunk/pylith/bc
brad at geodynamics.org
brad at geodynamics.org
Mon Jan 28 22:15:14 PST 2008
Author: brad
Date: 2008-01-28 22:15:13 -0800 (Mon, 28 Jan 2008)
New Revision: 9162
Modified:
short/3D/PyLith/trunk/pylith/bc/BoundaryCondition.py
short/3D/PyLith/trunk/pylith/bc/DirichletPoints.py
Log:
Added family pyre setting for spatial databases in BoundaryCondition and DirichletPoints.
Modified: short/3D/PyLith/trunk/pylith/bc/BoundaryCondition.py
===================================================================
--- short/3D/PyLith/trunk/pylith/bc/BoundaryCondition.py 2008-01-29 04:04:26 UTC (rev 9161)
+++ short/3D/PyLith/trunk/pylith/bc/BoundaryCondition.py 2008-01-29 06:15:13 UTC (rev 9162)
@@ -84,7 +84,8 @@
"with normal direction."
from spatialdata.spatialdb.SimpleDB import SimpleDB
- db = pyre.inventory.facility("db", factory=SimpleDB,
+ db = pyre.inventory.facility("db", factory=SimpleDB,
+ family="spatial_database",
args=["db"])
db.meta['tip'] = "Database of boundary condition parameters."
Modified: short/3D/PyLith/trunk/pylith/bc/DirichletPoints.py
===================================================================
--- short/3D/PyLith/trunk/pylith/bc/DirichletPoints.py 2008-01-29 04:04:26 UTC (rev 9161)
+++ short/3D/PyLith/trunk/pylith/bc/DirichletPoints.py 2008-01-29 06:15:13 UTC (rev 9162)
@@ -76,11 +76,11 @@
from FixedDOFDB import FixedDOFDB
db = pyre.inventory.facility("db", factory=FixedDOFDB,
- args=["initial value db"])
+ family="spatial_database")
db.meta['tip'] = "Database of parameters for initial values."
dbRate = pyre.inventory.facility("rate_db", factory=FixedDOFDB,
- args=["rate of change db"])
+ family="spatial_database")
dbRate.meta['tip'] = "Database of parameters for rate of change of values."
More information about the cig-commits
mailing list