[cig-commits] r7422 - short/3D/PyLith/trunk/examples/twocells/twoquad4

willic3 at geodynamics.org willic3 at geodynamics.org
Sat Jun 23 12:50:47 PDT 2007


Author: willic3
Date: 2007-06-23 12:50:47 -0700 (Sat, 23 Jun 2007)
New Revision: 7422

Added:
   short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.spatialdb
Removed:
   short/3D/PyLith/trunk/examples/twocells/twoquad4/shearxy.spatialdb
Modified:
   short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg
Log:
Made naming scheme consistent with other examples.



Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg	2007-06-23 19:47:39 UTC (rev 7421)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg	2007-06-23 19:50:47 UTC (rev 7422)
@@ -45,7 +45,7 @@
 
 # The name of the file containing the spatial database for the BC
 # specification.
-db.iohandler.filename = shearxy.spatialdb
+db.iohandler.filename = sheardisp.spatialdb
 
 
 # Boundary conditions to be applied to the positive x-side of the mesh.
@@ -63,7 +63,7 @@
 
 # The name of the file containing the spatial database for the BC
 # specification.
-db.iohandler.filename = shearxy.spatialdb
+db.iohandler.filename = sheardisp.spatialdb
 
 # ----------------------------------------------------------------------
 # PETSc

Copied: short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.spatialdb (from rev 7420, short/3D/PyLith/trunk/examples/twocells/twoquad4/shearxy.spatialdb)

Deleted: short/3D/PyLith/trunk/examples/twocells/twoquad4/shearxy.spatialdb
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/shearxy.spatialdb	2007-06-23 19:47:39 UTC (rev 7421)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/shearxy.spatialdb	2007-06-23 19:50:47 UTC (rev 7422)
@@ -1,44 +0,0 @@
-#SPATIAL.ascii 1
-
-// This database is used to specify the boundary conditions for the shear
-// displacement example.
-
-// This follows the format for a Simple DB (the only type presently available).
-SimpleDB {
-
-  // There are two values specified in the database, corresponding to the
-  // constraint values for the x (dof-0) and y (dof-1) degrees of freedom.
-  num-values = 2
-  value-names =  dof-0  dof-1
-
-  // The constraint values (displacements) have units of meters.
-  value-units =  m  m
-
-  // The values are specified at two spatial locations (two edges).
-  num-locs = 2
-
-  // The dimension of the spatial distribution is 1, since data is being
-  // specified at points.
-  data-dim = 1
-
-  // The spatial dimension of the database is 2.
-  space-dim = 2
-
-  // We are specifying the data in a Cartesian coordinate system.
-  cs-data = cartesian {
-
-    // Our units are already in meters, so we can just multiply by one.
-    to-meters = 1.0
-
-    // We are using a 2D Cartesian coordinate system.
-    space-dim = 2
-  }
-}
-
-// This is where the data is specified.
-// As described in sheardisp.cfg, this database will be used to specify
-// data along an edge (pylith.bc.BCFourSides).
-// The entries are:
-// X-coord, Y-coord, dof-0 (x constraint), dof-1 (y constraint).
--2.0  0.0    0.0  -0.01
-+2.0  0.0    0.0  +0.01



More information about the cig-commits mailing list