[cig-commits] r9163 - in short/3D/PyLith/trunk/examples: 3d/hex8 3d/tet4 twocells/twohex8 twocells/twoquad4 twocells/twotet4 twocells/twotri3
brad at geodynamics.org
brad at geodynamics.org
Mon Jan 28 22:16:07 PST 2008
Author: brad
Date: 2008-01-28 22:16:07 -0800 (Mon, 28 Jan 2008)
New Revision: 9163
Modified:
short/3D/PyLith/trunk/examples/3d/hex8/dislocation.cfg
short/3D/PyLith/trunk/examples/3d/hex8/shearxy.cfg
short/3D/PyLith/trunk/examples/3d/tet4/dislocation.cfg
short/3D/PyLith/trunk/examples/3d/tet4/shearxy.cfg
short/3D/PyLith/trunk/examples/twocells/twohex8/axialdisp.cfg
short/3D/PyLith/trunk/examples/twocells/twohex8/dislocation.cfg
short/3D/PyLith/trunk/examples/twocells/twohex8/sheardisp.cfg
short/3D/PyLith/trunk/examples/twocells/twoquad4/axialdisp.cfg
short/3D/PyLith/trunk/examples/twocells/twoquad4/dislocation.cfg
short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg
short/3D/PyLith/trunk/examples/twocells/twotet4/axialdisp.cfg
short/3D/PyLith/trunk/examples/twocells/twotet4/dislocation.cfg
short/3D/PyLith/trunk/examples/twocells/twotri3/axialdisp.cfg
short/3D/PyLith/trunk/examples/twocells/twotri3/dislocation.cfg
short/3D/PyLith/trunk/examples/twocells/twotri3/sheardisp.cfg
Log:
Updated cfg files in examples to conform to DirichletPoints with FixedDOFDB as default database for initial values.
Modified: short/3D/PyLith/trunk/examples/3d/hex8/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/hex8/dislocation.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/3d/hex8/dislocation.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -28,6 +28,9 @@
# boundary conditions
# ----------------------------------------------------------------------
+# We use the default spatial database for the Dirichlet BC which sets
+# the displacements to zero for all time.
+#
# Set the parameters for the desired boundary conditions. Note that we
# only use a subset of the boundary conditions provided in the 6 BC
# container.
@@ -43,19 +46,16 @@
fixed_dof = [0, 1]
label = 11
db.label = Dirichlet BC on +x
-db.iohandler.filename = fixeddisp_zero.spatialdb
[pylithapp.timedependent.bc.x_neg]
fixed_dof = [0, 1]
label = 12
db.label = Dirichlet BC on -x
-db.iohandler.filename = fixeddisp_zero.spatialdb
[pylithapp.timedependent.bc.z_neg]
fixed_dof = [2]
label = 16
db.label = Dirichlet BC on -z
-db.iohandler.filename = fixeddisp_zero.spatialdb
# ----------------------------------------------------------------------
# faults
Modified: short/3D/PyLith/trunk/examples/3d/hex8/shearxy.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/hex8/shearxy.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/3d/hex8/shearxy.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -23,6 +23,10 @@
# ----------------------------------------------------------------------
# boundary conditions
# ----------------------------------------------------------------------
+# We change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+
# Set the parameters for Dirichlet boundary conditions applied on the
# +x and -x faces of the box. Note that we only use a subset of the
# boundary conditions provided in the 6 BC container.
@@ -35,18 +39,21 @@
[pylithapp.timedependent.bc.x_pos]
fixed_dof = [0, 1]
label = 11
+db = spatialdata.spatialdb.SimpleDB
db.label = Dirichlet BC on +x
db.iohandler.filename = fixeddisp_shear.spatialdb
[pylithapp.timedependent.bc.x_neg]
fixed_dof = [0, 1]
label = 12
+db = spatialdata.spatialdb.SimpleDB
db.label = Dirichlet BC on -x
db.iohandler.filename = fixeddisp_shear.spatialdb
[pylithapp.timedependent.bc.z_neg]
fixed_dof = [2]
label = 15
+db = spatialdata.spatialdb.SimpleDB
db.label = Dirichlet BC on -z
db.iohandler.filename = fixeddisp_shear.spatialdb
Modified: short/3D/PyLith/trunk/examples/3d/tet4/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/tet4/dislocation.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/3d/tet4/dislocation.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -28,6 +28,9 @@
# boundary conditions
# ----------------------------------------------------------------------
+# We use the default spatial database for the Dirichlet BC which sets
+# the displacements to zero for all time.
+#
# Set the parameters for the desired boundary conditions. Note that we
# only use a subset of the boundary conditions provided in the 6 BC
# container.
@@ -43,13 +46,11 @@
fixed_dof = [0, 1, 2]
label = boundary_xp
db.label = Dirichlet BC on +x
-db.iohandler.filename = fixeddisp_zero.spatialdb
[pylithapp.timedependent.bc.x_neg]
fixed_dof = [0, 1, 2]
label = boundary_xm
db.label = Dirichlet BC on -x
-db.iohandler.filename = fixeddisp_zero.spatialdb
# ----------------------------------------------------------------------
# faults
Modified: short/3D/PyLith/trunk/examples/3d/tet4/shearxy.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/tet4/shearxy.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/3d/tet4/shearxy.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -23,6 +23,10 @@
# ----------------------------------------------------------------------
# boundary conditions
# ----------------------------------------------------------------------
+# We change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+
# Set the parameters for Dirichlet boundary conditions applied on the
# +x and -x faces of the box. Note that we only use a subset of the
# boundary conditions provided in the 6 BC container.
@@ -35,18 +39,21 @@
[pylithapp.timedependent.bc.x_pos]
fixed_dof = [0, 1]
label = boundary_xp
+db = spatialdata.spatialdb.SimpleDB
db.label = Dirichlet BC on +x
db.iohandler.filename = fixeddisp_shear.spatialdb
[pylithapp.timedependent.bc.x_neg]
fixed_dof = [0, 1]
label = boundary_xm
+db = spatialdata.spatialdb.SimpleDB
db.label = Dirichlet BC on -x
db.iohandler.filename = fixeddisp_shear.spatialdb
[pylithapp.timedependent.bc.z_neg]
fixed_dof = [2]
label = boundary_zm
+db = spatialdata.spatialdb.SimpleDB
db.label = Dirichlet BC on -z
db.iohandler.filename = fixeddisp_shear.spatialdb
Modified: short/3D/PyLith/trunk/examples/twocells/twohex8/axialdisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/axialdisp.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/axialdisp.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -41,6 +41,11 @@
# 'x_neg' in the mesh file.
label = x_neg
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC -x face' to the database.
db.label = Dirichlet BC -x face
@@ -59,6 +64,11 @@
# 'x_pos' in the mesh file.
label = x_pos
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC +x face' to the database.
db.label = Dirichlet BC +x face
Modified: short/3D/PyLith/trunk/examples/twocells/twohex8/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/dislocation.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/dislocation.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -42,6 +42,9 @@
# Provide information on the boundary conditions.
# ----------------------------------------------------------------------
+# We use the default spatial database for the Dirichlet BC which sets
+# the displacements to zero for all time.
+
# Boundary conditions to be applied to the negative x-side of the mesh.
[pylithapp.timedependent.bc.x_neg]
@@ -55,11 +58,7 @@
# We are assigning the label 'Dirichlet BC -x face' to the database.
db.label = Dirichlet BC -x face
-# The name of the file containing the spatial database for the BC
-# specification.
-db.iohandler.filename = dislocation_disp.spatialdb
-
# Boundary conditions to be applied to the positive x-side of the mesh.
[pylithapp.timedependent.bc.x_pos]
@@ -73,10 +72,6 @@
# We are assigning the label 'Dirichlet BC +x face' to the database.
db.label = Dirichlet BC +x face
-# The name of the file containing the spatial database for the BC
-# specification.
-db.iohandler.filename = dislocation_disp.spatialdb
-
# ----------------------------------------------------------------------
# faults
# Provide information on the fault (interface).
Modified: short/3D/PyLith/trunk/examples/twocells/twohex8/sheardisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/sheardisp.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/sheardisp.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -41,6 +41,11 @@
# 'x_neg' in the mesh file.
label = x_neg
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC -x face' to the database.
db.label = Dirichlet BC -x face
@@ -59,6 +64,11 @@
# 'x_pos' in the mesh file.
label = x_pos
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC +x face' to the database.
db.label = Dirichlet BC +x face
Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/axialdisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/axialdisp.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/axialdisp.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -41,6 +41,11 @@
# 'x_neg' in the mesh file.
label = x_neg
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC -x edge' to the database.
db.label = Dirichlet BC -x edge
@@ -60,6 +65,11 @@
# 'x_pos' in the mesh file.
label = x_pos
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC +x edge' to the database.
db.label = Dirichlet BC +x edge
@@ -79,6 +89,11 @@
# 'y_neg' in the mesh file.
label = y_neg
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC -y corners' to the database.
db.label = Dirichlet BC -y edge
Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/dislocation.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/dislocation.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -41,6 +41,9 @@
# ----------------------------------------------------------------------
# Provide information on the boundary conditions.
+# We use the default spatial database for the Dirichlet BC which sets
+# the displacements to zero for all time.
+
# Boundary conditions to be applied to the negative x-side of the mesh.
[pylithapp.timedependent.bc.x_neg]
@@ -54,12 +57,6 @@
# We are assigning the label 'Dirichlet BC' to the database.
db.label = Dirichlet BC -x edge
-# The name of the file containing the spatial database for the BC
-# specification.
-db.iohandler.filename = dislocation_disp.spatialdb
-db.query_type = linear
-
-
# Boundary conditions to be applied to the positive x-side of the mesh.
[pylithapp.timedependent.bc.x_pos]
@@ -73,10 +70,6 @@
# We are assigning the label 'Dirichlet BC' to the database.
db.label = Dirichlet BC +x edge
-# The name of the file containing the spatial database for the BC
-# specification.
-db.iohandler.filename = dislocation_disp.spatialdb
-db.query_type = linear
# ----------------------------------------------------------------------
# faults
# ----------------------------------------------------------------------
Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -40,6 +40,11 @@
# 'x_neg' in the mesh file.
label = x_neg
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC -x edge' to the database.
db.label = Dirichlet BC -x edge
@@ -58,6 +63,11 @@
# 'x_pos' in the mesh file.
label = x_pos
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC +x edge' to the database.
db.label = Dirichlet BC +x edge
Modified: short/3D/PyLith/trunk/examples/twocells/twotet4/axialdisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotet4/axialdisp.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twotet4/axialdisp.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -40,6 +40,11 @@
# 'end points' in the mesh file.
label = end points
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC' to the database.
db.label = Dirichlet BC
Modified: short/3D/PyLith/trunk/examples/twocells/twotet4/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotet4/dislocation.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twotet4/dislocation.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -42,6 +42,9 @@
# Provide information on the boundary conditions.
[pylithapp.timedependent.bc.bc]
+# We use the default spatial database for the Dirichlet BC which sets
+# the displacements to zero for all time.
+
# We are fixing the 0 (x), 1 (y), and 2 (z) degrees of freedom.
fixed_dof = [0, 1, 2]
@@ -52,10 +55,6 @@
# We are assigning the label 'Dirichlet BC' to the database.
db.label = Dirichlet BC
-# The name of the file containing the spatial database for the BC
-# specification.
-db.iohandler.filename = dislocation_disp.spatialdb
-
# ----------------------------------------------------------------------
# faults
# ----------------------------------------------------------------------
Modified: short/3D/PyLith/trunk/examples/twocells/twotri3/axialdisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/axialdisp.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twotri3/axialdisp.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -38,6 +38,11 @@
# 'end points' in the mesh file.
label = end points
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC' to the database.
db.label = Dirichlet BC
Modified: short/3D/PyLith/trunk/examples/twocells/twotri3/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/dislocation.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twotri3/dislocation.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -42,6 +42,9 @@
# Provide information on the boundary conditions.
[pylithapp.timedependent.bc.bc]
+# We use the default spatial database for the Dirichlet BC which sets
+# the displacements to zero for all time.
+
# We are fixing the 0 (x) and 1 (y) degrees of freedom.
fixed_dof = [0, 1]
@@ -52,10 +55,6 @@
# We are assigning the label 'Dirichlet BC' to the database.
db.label = Dirichlet BC
-# The name of the file containing the spatial database for the BC
-# specification.
-db.iohandler.filename = dislocation_disp.spatialdb
-
# ----------------------------------------------------------------------
# faults
# ----------------------------------------------------------------------
Modified: short/3D/PyLith/trunk/examples/twocells/twotri3/sheardisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/sheardisp.cfg 2008-01-29 06:15:13 UTC (rev 9162)
+++ short/3D/PyLith/trunk/examples/twocells/twotri3/sheardisp.cfg 2008-01-29 06:16:07 UTC (rev 9163)
@@ -41,6 +41,11 @@
# 'x_neg' in the mesh file.
label = x_neg
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC -x edge' to the database.
db.label = Dirichlet BC -x edge
@@ -59,6 +64,11 @@
# 'x_pos' in the mesh file.
label = x_pos
+# Change spatial database for initial value from FixedDOFDB (which has
+# a uniform spatial distribution) to SimpleDB (which uses a data file
+# to specify a spatial variation).
+db = spatialdata.spatialdb.SimpleDB
+
# We are assigning the label 'Dirichlet BC +x edge' to the database.
db.label = Dirichlet BC +x edge
More information about the cig-commits
mailing list