[cig-commits] r7168 - short/3D/PyLith/trunk/examples/templates/containers

brad at geodynamics.org brad at geodynamics.org
Tue Jun 12 12:35:38 PDT 2007


Author: brad
Date: 2007-06-12 12:35:38 -0700 (Tue, 12 Jun 2007)
New Revision: 7168

Modified:
   short/3D/PyLith/trunk/examples/templates/containers/bc.odb
Log:
Added comments on how to use user-defined container.

Modified: short/3D/PyLith/trunk/examples/templates/containers/bc.odb
===================================================================
--- short/3D/PyLith/trunk/examples/templates/containers/bc.odb	2007-06-12 19:25:37 UTC (rev 7167)
+++ short/3D/PyLith/trunk/examples/templates/containers/bc.odb	2007-06-12 19:35:38 UTC (rev 7168)
@@ -15,6 +15,22 @@
 ## Copy this file to your working directory and rename it as
 ## appropriate. Note: the extension MUST rename ".odb" for PyLith to
 ## find it.
+##
+## To use this container, in your .cfg file, bind this component to
+## the boundary condition facility of the problem:
+##
+## [pylithapp.timedependent]
+## bc = pylith.bc.MyBC
+##
+## You can then set the properties of the facilities in this container
+## just as you would any other Pyre component.
+##
+## For example:
+##
+## [pylithapp.timedepedent.bc.x_pos]
+## fixed_dof = [0]
+## id = 102
+## label = face +x
 
 # Parent class
 from pylith.utils.ObjectBin import ObjectBin



More information about the cig-commits mailing list