[cig-commits] r15174 - in short/3D/PyLith/trunk/examples: 3d/hex8 3d/tet4 greensfns/hex8 twocells/twohex8 twocells/twoquad4 twocells/twotet4 twocells/twotet4-geoproj twocells/twotri3

brad at geodynamics.org brad at geodynamics.org
Wed Jun 10 11:45:35 PDT 2009


Author: brad
Date: 2009-06-10 11:45:34 -0700 (Wed, 10 Jun 2009)
New Revision: 15174

Modified:
   short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg
   short/3D/PyLith/trunk/examples/3d/tet4/pylithapp.cfg
   short/3D/PyLith/trunk/examples/greensfns/hex8/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twohex8/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twotet4-geoproj/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg
Log:
Updated settings and removed superfluous ones.

Modified: short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg	2009-06-10 18:44:03 UTC (rev 15173)
+++ short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg	2009-06-10 18:45:34 UTC (rev 15174)
@@ -55,14 +55,14 @@
 [pylithapp.timedependent.materials.elastic]
 label = Elastic material
 id = 1
-properties_db.iohandler.filename = mat_elastic.spatialdb
+db_properties.iohandler.filename = mat_elastic.spatialdb
 quadrature.cell = pylith.feassemble.FIATLagrange
 quadrature.cell.dimension = 3
 
 [pylithapp.timedependent.materials.viscoelastic]
 label = Viscoelastic material
 id = 2
-properties_db.iohandler.filename = mat_viscoelastic.spatialdb
+db_properties.iohandler.filename = mat_viscoelastic.spatialdb
 quadrature.cell = pylith.feassemble.FIATLagrange
 quadrature.cell.dimension = 3
 

Modified: short/3D/PyLith/trunk/examples/3d/tet4/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/tet4/pylithapp.cfg	2009-06-10 18:44:03 UTC (rev 15173)
+++ short/3D/PyLith/trunk/examples/3d/tet4/pylithapp.cfg	2009-06-10 18:45:34 UTC (rev 15174)
@@ -65,14 +65,14 @@
 [pylithapp.timedependent.materials.elastic]
 label = Elastic material
 id = 1
-properties_db.iohandler.filename = mat_elastic.spatialdb
+db_properties.iohandler.filename = mat_elastic.spatialdb
 quadrature.cell = pylith.feassemble.FIATSimplex
 quadrature.cell.shape = tetrahedron
 
 [pylithapp.timedependent.materials.viscoelastic]
 label = Viscoelastic material
 id = 2
-properties_db.iohandler.filename = mat_viscoelastic.spatialdb
+db_properties.iohandler.filename = mat_viscoelastic.spatialdb
 quadrature.cell = pylith.feassemble.FIATSimplex
 quadrature.cell.shape = tetrahedron
 

Modified: short/3D/PyLith/trunk/examples/greensfns/hex8/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/greensfns/hex8/pylithapp.cfg	2009-06-10 18:44:03 UTC (rev 15173)
+++ short/3D/PyLith/trunk/examples/greensfns/hex8/pylithapp.cfg	2009-06-10 18:45:34 UTC (rev 15174)
@@ -56,14 +56,14 @@
 [pylithapp.timedependent.materials.elastic_upper]
 label = Upper elastic material
 id = 1
-properties_db.iohandler.filename = mat_elastic.spatialdb
+db_properties.iohandler.filename = mat_elastic.spatialdb
 quadrature.cell = pylith.feassemble.FIATLagrange
 quadrature.cell.dimension = 3
 
 [pylithapp.timedependent.materials.elastic_lower]
 label = Lower elastic material
 id = 2
-properties_db.iohandler.filename = mat_elastic.spatialdb
+db_properties.iohandler.filename = mat_elastic.spatialdb
 quadrature.cell = pylith.feassemble.FIATLagrange
 quadrature.cell.dimension = 3
 

Modified: short/3D/PyLith/trunk/examples/twocells/twohex8/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twohex8/pylithapp.cfg	2009-06-10 18:44:03 UTC (rev 15173)
+++ short/3D/PyLith/trunk/examples/twocells/twohex8/pylithapp.cfg	2009-06-10 18:45:34 UTC (rev 15174)
@@ -79,9 +79,9 @@
 
 # We define uniform material properties for this problem rather than
 # using a spatial database file.
-properties_db = spatialdata.spatialdb.UniformDB
-properties_db.values = [vp,vs,density,viscosity]
-properties_db.data = [5773.502691896258*m/s,3333.333333333333*m/s,2700.0*kg/m**3,1.0e18*Pa*s]
+db_properties = spatialdata.spatialdb.UniformDB
+db_properties.values = [vp,vs,density,viscosity]
+db_properties.data = [5773.502691896258*m/s,3333.333333333333*m/s,2700.0*kg/m**3,1.0e18*Pa*s]
 
 # If we instead wanted to used the 'matprops.spatialdb' file to define
 # material properties we would comment out the three 'db' lines above
@@ -94,17 +94,12 @@
 
 # ----------------------------------------------------------------------
 # PETSc
-# We are using all of the default settings for PETSc except for specifying
-# the Jacobi preconditioner.
-# Additional PETSc command-line arguments may be found in the PETSc
-# documentation.
+# We are using all of the default settings for PETSc except for
+# specifying the Jacobi preconditioner.  Additional PETSc command-line
+# arguments may be found in the PETSc documentation.
 # ----------------------------------------------------------------------
 [pylithapp.petsc]
 pc_type = jacobi
-# Change the preconditioner settings (must turn off
-# shift_positive_definite and turn on shift_nonzero).
-sub_pc_factor_shift_positive_definite = 0
-sub_pc_factor_shift_nonzero = 
 
 # start_in_debugger = true
 # debugger_timeout = 100

Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg	2009-06-10 18:44:03 UTC (rev 15173)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg	2009-06-10 18:45:34 UTC (rev 15174)
@@ -79,7 +79,7 @@
 
 # The properties for this material are given in the spatial database file
 # 'matprops.spatialdb'.
-properties_db.iohandler.filename = matprops.spatialdb
+db_properties.iohandler.filename = matprops.spatialdb
 
 # Set cell type to quadrilateral (2-d Lagrange).
 quadrature.cell = pylith.feassemble.FIATLagrange
@@ -88,16 +88,11 @@
 # ----------------------------------------------------------------------
 # PETSc
 # ----------------------------------------------------------------------
-# We are using all of the default settings for PETSc except for specifying
-# the block Jacobi preconditioner.
-# Additional PETSc command-line arguments may be found in the PETSc
-# documentation.
+# We are using all of the default settings for PETSc except for
+# specifying the block Jacobi preconditioner.  Additional PETSc
+# command-line arguments may be found in the PETSc documentation.
 [pylithapp.petsc]
 pc_type = bjacobi
-# Change the preconditioner settings (must turn off
-# shift_positive_definite and turn on shift_nonzero).
-sub_pc_factor_shift_positive_definite = 0
-sub_pc_factor_shift_nonzero = 
 
 # start_in_debugger = true
 # debugger_timeout = 100

Modified: short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg	2009-06-10 18:44:03 UTC (rev 15173)
+++ short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg	2009-06-10 18:45:34 UTC (rev 15174)
@@ -81,7 +81,7 @@
 
 # The properties for this material are given in the spatial database file
 # 'matprops.spatialdb'.
-properties_db.iohandler.filename = matprops.spatialdb
+db_properties.iohandler.filename = matprops.spatialdb
 
 # We are doing 3D quadrature for a tetrahedron.
 quadrature.cell.shape = tetrahedron
@@ -89,16 +89,11 @@
 # ----------------------------------------------------------------------
 # PETSc
 # ----------------------------------------------------------------------
-# We are using all of the default settings for PETSc except for specifying
-# the block Jacobi preconditioner.
-# Additional PETSc command-line arguments may be found in the PETSc
-# documentation.
+# We are using all of the default settings for PETSc except for
+# specifying the block Jacobi preconditioner.  Additional PETSc
+# command-line arguments may be found in the PETSc documentation.
 [pylithapp.petsc]
 pc_type = jacobi
-# Change the preconditioner settings (must turn off
-# shift_positive_definite and turn on shift_nonzero).
-sub_pc_factor_shift_positive_definite = 0
-sub_pc_factor_shift_nonzero = 
 
 # start_in_debugger = true
 # debugger_timeout = 100

Modified: short/3D/PyLith/trunk/examples/twocells/twotet4-geoproj/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotet4-geoproj/pylithapp.cfg	2009-06-10 18:44:03 UTC (rev 15173)
+++ short/3D/PyLith/trunk/examples/twocells/twotet4-geoproj/pylithapp.cfg	2009-06-10 18:45:34 UTC (rev 15174)
@@ -85,8 +85,8 @@
 id = 1
 
 # The properties for this material are obtained from the SCEC CVM-H.
-properties_db = spatialdata.spatialdb.SCECCVMH
-properties_db.data_dir = /home/brad/data/sceccvm-h/vx53/bin
+db_properties = spatialdata.spatialdb.SCECCVMH
+db_properties.data_dir = /home/brad/data/sceccvm-h/vx53/bin
 
 # We are doing 3D quadrature for a tetrahedron.
 quadrature.cell = pylith.feassemble.FIATSimplex
@@ -97,10 +97,6 @@
 # ----------------------------------------------------------------------
 [pylithapp.petsc]
 pc_type = jacobi
-# Change the preconditioner settings (must turn off
-# shift_positive_definite and turn on shift_nonzero).
-sub_pc_factor_shift_positive_definite = 0
-sub_pc_factor_shift_nonzero = 
 
 ksp_rtol = 1.0e-10
 ksp_monitor = true

Modified: short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg	2009-06-10 18:44:03 UTC (rev 15173)
+++ short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg	2009-06-10 18:45:34 UTC (rev 15174)
@@ -80,7 +80,7 @@
 
 # The properties for this material are given in the spatial database file
 # 'matprops.spatialdb'.
-properties_db.iohandler.filename = matprops.spatialdb
+db_properties.iohandler.filename = matprops.spatialdb
 
 # We are doing 2D quadrature for a triangle.
 quadrature.cell.shape = triangle
@@ -88,16 +88,11 @@
 # ----------------------------------------------------------------------
 # PETSc
 # ----------------------------------------------------------------------
-# We are using all of the default settings for PETSc except for specifying
-# the block Jacobi preconditioner.
-# Additional PETSc command-line arguments may be found in the PETSc
-# documentation.
+# We are using all of the default settings for PETSc except for
+# specifying the block Jacobi preconditioner.  Additional PETSc
+# command-line arguments may be found in the PETSc documentation.
 [pylithapp.petsc]
 pc_type = jacobi
-# Change the preconditioner settings (must turn off
-# shift_positive_definite and turn on shift_nonzero).
-sub_pc_factor_shift_positive_definite = 0
-sub_pc_factor_shift_nonzero = 
 
 # start_in_debugger = true
 # debugger_timeout = 100



More information about the CIG-COMMITS mailing list