[cig-commits] r14852 - short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8
brad at geodynamics.org
brad at geodynamics.org
Sun May 3 17:15:09 PDT 2009
Author: brad
Date: 2009-05-03 17:15:08 -0700 (Sun, 03 May 2009)
New Revision: 14852
Modified:
short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/axialdisp.cfg
short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/dislocation.cfg
short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/pylithapp.cfg
short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/sheardisp.cfg
Log:
Updated example settings.
Modified: short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/axialdisp.cfg
===================================================================
--- short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/axialdisp.cfg 2009-05-04 00:02:55 UTC (rev 14851)
+++ short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/axialdisp.cfg 2009-05-04 00:15:08 UTC (rev 14852)
@@ -87,7 +87,7 @@
[pylithapp.timedependent.materials.material.output]
cell_data_fields = [total_strain,viscous_strain,stress]
cell_info_fields = [mu,lambda,density,maxwell_time]
-cell_filter = pylith.meshio.CellFilterAvg
+cell_filter = pylith.meshio.CellFilterAvgMesh
writer.filename = axialdisp-statevars.vtk
writer.time_format = %04.1f ; Time stamp will be xxx.x with the "." removed.
writer.time_constant = 1.0*year ; Normalize time stamp by years
Modified: short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/dislocation.cfg
===================================================================
--- short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/dislocation.cfg 2009-05-04 00:02:55 UTC (rev 14851)
+++ short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/dislocation.cfg 2009-05-04 00:15:08 UTC (rev 14852)
@@ -98,7 +98,6 @@
mat_db.iohandler.filename = matprops.spatialdb
# The quadrature for a 3D fault is 2D.
-quadrature = pylith.feassemble.quadrature.Quadrature2Din3D
quadrature.cell = pylith.feassemble.FIATLagrange
quadrature.cell.dimension = 2
@@ -130,7 +129,7 @@
[pylithapp.timedependent.materials.material.output]
cell_data_fields = [total_strain,viscous_strain,stress]
cell_info_fields = [mu,lambda,density,maxwell_time]
-cell_filter = pylith.meshio.CellFilterAvg
+cell_filter = pylith.meshio.CellFilterAvgMesh
writer.filename = dislocation-statevars.vtk
writer.time_format = %04.1f ; Time stamp will be xxx.x with the "." removed.
writer.time_constant = 1.0*year ; Normalize time stamp by years
Modified: short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/pylithapp.cfg
===================================================================
--- short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/pylithapp.cfg 2009-05-04 00:02:55 UTC (rev 14851)
+++ short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/pylithapp.cfg 2009-05-04 00:15:08 UTC (rev 14852)
@@ -40,7 +40,7 @@
# This component specification means we are using PyLith ASCII format,
# and we then specify the filename and number of space dimensions for
# the mesh.
-[pylithapp.mesh_generator.importer]
+[pylithapp.mesh_generator.reader]
filename = twohex8.mesh
coordsys.space_dim = 3
@@ -78,9 +78,9 @@
# We define uniform material properties for this problem rather than
# using a spatial database file.
-db = spatialdata.spatialdb.UniformDB
-db.values = [vp,vs,density,viscosity]
-db.data = [5773.502691896258, 3333.333333333333, 2700.0, 1.0e18]
+properties_db = spatialdata.spatialdb.UniformDB
+properties_db.values = [vp,vs,density,viscosity]
+properties_db.data = [5773.502691896258, 3333.333333333333, 2700.0, 1.0e18]
# If we instead wanted to used the 'matprops.spatialdb' file to define
# material properties we would comment out the three 'db' lines above
@@ -88,7 +88,6 @@
# db.iohandler.filename = matprops.spatialdb
# We are doing 2D quadrature for a quad.
-quadrature = pylith.feassemble.quadrature.Quadrature3D
quadrature.cell = pylith.feassemble.FIATLagrange
quadrature.cell.dimension = 3
Modified: short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/sheardisp.cfg
===================================================================
--- short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/sheardisp.cfg 2009-05-04 00:02:55 UTC (rev 14851)
+++ short/3D/PyLith/branches/pylith-swig/examples/twocells/twohex8/sheardisp.cfg 2009-05-04 00:15:08 UTC (rev 14852)
@@ -86,7 +86,7 @@
[pylithapp.timedependent.materials.material.output]
cell_data_fields = [total_strain,viscous_strain,stress]
cell_info_fields = [mu,lambda,density,maxwell_time]
-cell_filter = pylith.meshio.CellFilterAvg
+cell_filter = pylith.meshio.CellFilterAvgMesh
writer.filename = sheardisp-statevars.vtk
writer.time_format = %04.1f ; Time stamp will be xxx.x with the "." removed.
writer.time_constant = 1.0*year ; Normalize time stamp by years
More information about the CIG-COMMITS
mailing list