[cig-commits] r7416 - in short/3D/PyLith/trunk/examples/twocells: twoquad4 twotet4 twotri3

brad at geodynamics.org brad at geodynamics.org
Fri Jun 22 23:57:31 PDT 2007


Author: brad
Date: 2007-06-22 23:57:30 -0700 (Fri, 22 Jun 2007)
New Revision: 7416

Modified:
   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/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg
   short/3D/PyLith/trunk/examples/twocells/twoquad4/twoquad4.mesh
   short/3D/PyLith/trunk/examples/twocells/twotet4/axialdisp.cfg
   short/3D/PyLith/trunk/examples/twocells/twotet4/dislocation.cfg
   short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.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/pylithapp.cfg
   short/3D/PyLith/trunk/examples/twocells/twotri3/sheardisp.cfg
Log:
Cleaned up formatting to make headers easier to read. Switched to block jacobi preconditioner.

Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/axialdisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/axialdisp.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/axialdisp.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -14,9 +14,9 @@
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem so we use that facility.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 
 # We want an implicit formulation.
@@ -28,8 +28,8 @@
 
 # ----------------------------------------------------------------------
 # boundary conditions
+# ----------------------------------------------------------------------
 # Provide information on the boundary conditions.
-# ----------------------------------------------------------------------
 
 # Boundary conditions to be applied to the negative x-side of the mesh.
 [pylithapp.timedependent.bc.x_neg]
@@ -89,7 +89,7 @@
 
 # ----------------------------------------------------------------------
 # output
+# ----------------------------------------------------------------------
 # Give basename for vtk output.
-# ----------------------------------------------------------------------
 [pylithapp.problem.formulation.output.output]
 filename = axialdisp.vtk

Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/dislocation.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/dislocation.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -14,17 +14,17 @@
 
 # ----------------------------------------------------------------------
 # journal
+# ----------------------------------------------------------------------
 # Journal settings in addition to those given in 'pylithapp.cfg'
-# ----------------------------------------------------------------------
 [pylithapp.journal.info]
 quadrature1d = 1
 faultcohesivekin = 1
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem so we use that facility.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 
 # We want an implicit formulation.
@@ -38,8 +38,8 @@
 
 # ----------------------------------------------------------------------
 # boundary conditions
+# ----------------------------------------------------------------------
 # Provide information on the boundary conditions.
-# ----------------------------------------------------------------------
 
 # Boundary conditions to be applied to the negative x-side of the mesh.
 [pylithapp.timedependent.bc.x_neg]
@@ -79,8 +79,8 @@
 db.query_type = linear
 # ----------------------------------------------------------------------
 # faults
+# ----------------------------------------------------------------------
 # Provide information on the fault (interface).
-# ----------------------------------------------------------------------
 [pylithapp.timedependent.interfaces]
 
 # This fault is a cohesive element fault with kinematically-specified slip.
@@ -114,7 +114,7 @@
 
 # ----------------------------------------------------------------------
 # output
+# ----------------------------------------------------------------------
 # Give basename for vtk output.
-# ----------------------------------------------------------------------
 [pylithapp.problem.formulation.output.output]
 filename = dislocation.vtk

Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/pylithapp.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -14,9 +14,9 @@
 
 # ----------------------------------------------------------------------
 # journal
+# ----------------------------------------------------------------------
 # The settings below turn on journal info for the specified components.
 # If you want less output to stdout, you can turn these off.
-# ----------------------------------------------------------------------
 [pylithapp.journal.info]
 timedependent = 1
 explicit = 1
@@ -31,8 +31,8 @@
 
 # ----------------------------------------------------------------------
 # mesh_generator
+# ----------------------------------------------------------------------
 # The settings below control the mesh generation (importing mesh info).
-# ----------------------------------------------------------------------
 # Turn on debugging output for mesh generation.
 [pylithapp.mesh_generator]
 debug = 1
@@ -46,6 +46,7 @@
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem, so we select this as our problem type.
 # We select a total time of 1 sec, and a time step size of 1 sec, so we
@@ -53,7 +54,6 @@
 # The spatial dimension for this problem is 2.
 # For an implicit formulation (using implicit.cfg), we will perform 1
 # implicit time step from t = -1.0 to t = 0.0 (elastic solution step).
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 total_time = 0.0*s
 default_dt = 1.0*s
@@ -61,8 +61,8 @@
 
 # ----------------------------------------------------------------------
 # materials
+# ----------------------------------------------------------------------
 # Specify the material information for the problem.
-# ----------------------------------------------------------------------
 # The material type is isotropic elastic formulated for plane strain.
 [pylithapp.timedependent.materials]
 material = pylith.materials.ElasticPlaneStrain
@@ -87,12 +87,12 @@
 
 # ----------------------------------------------------------------------
 # PETSc
+# ----------------------------------------------------------------------
 # We are using all of the default settings for PETSc except for specifying
-# the Jacobi preconditioner.
+# the block Jacobi preconditioner.
 # Additional PETSc command-line arguments may be found in the PETSc
 # documentation.
-# ----------------------------------------------------------------------
 [pylithapp.petsc]
-pc_type = jacobi
+pc_type = bjacobi
 # start_in_debugger = true
 # debugger_timeout = 100

Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/sheardisp.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -13,9 +13,9 @@
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem so we use that facility.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 
 # We want an implicit formulation.
@@ -27,8 +27,8 @@
 
 # ----------------------------------------------------------------------
 # boundary conditions
+# ----------------------------------------------------------------------
 # Provide information on the boundary conditions.
-# ----------------------------------------------------------------------
 
 # Boundary conditions to be applied to the negative x-side of the mesh.
 [pylithapp.timedependent.bc.x_neg]
@@ -69,7 +69,7 @@
 # PETSc
 # ----------------------------------------------------------------------
 [pylithapp.petsc]
-pc_type = jacobi
+pc_type = bjacobi
 
 # ----------------------------------------------------------------------
 # output

Modified: short/3D/PyLith/trunk/examples/twocells/twoquad4/twoquad4.mesh
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twoquad4/twoquad4.mesh	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twoquad4/twoquad4.mesh	2007-06-23 06:57:30 UTC (rev 7416)
@@ -1,6 +1,6 @@
 // Global mesh object.
 // This defines a rectangular mesh composed of two square
-// elements with unit edge lengths.
+// elements with edge lengths of 2.0.
 mesh = {
 
   // This is a two-dimensional mesh.

Modified: short/3D/PyLith/trunk/examples/twocells/twotet4/axialdisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotet4/axialdisp.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twotet4/axialdisp.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -14,9 +14,9 @@
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem so we use that facility.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 
 # We want an implicit formulation.
@@ -27,8 +27,8 @@
 
 # ----------------------------------------------------------------------
 # boundary conditions
+# ----------------------------------------------------------------------
 # Provide information on the boundary conditions.
-# ----------------------------------------------------------------------
 
 # Boundary conditions to be applied to the negative x-side of the mesh.
 [pylithapp.timedependent.bc.bc]
@@ -49,7 +49,7 @@
 
 # ----------------------------------------------------------------------
 # output
+# ----------------------------------------------------------------------
 # Give basename for vtk output.
-# ----------------------------------------------------------------------
 [pylithapp.problem.formulation.output.output]
 filename = axialdisp.vtk

Modified: short/3D/PyLith/trunk/examples/twocells/twotet4/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotet4/dislocation.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twotet4/dislocation.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -14,17 +14,17 @@
 
 # ----------------------------------------------------------------------
 # journal
+# ----------------------------------------------------------------------
 # Journal settings in addition to those given in 'pylithapp.cfg'
-# ----------------------------------------------------------------------
 [pylithapp.journal.info]
 quadrature2d = 1
 faultcohesivekin = 1
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem so we use that facility.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 
 # We want an implicit formulation.
@@ -38,8 +38,8 @@
 
 # ----------------------------------------------------------------------
 # boundary conditions
+# ----------------------------------------------------------------------
 # Provide information on the boundary conditions.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent.bc.bc]
 
 # We are fixing the 0 (x), 1 (y), and 2 (z) degrees of freedom.
@@ -58,8 +58,8 @@
 
 # ----------------------------------------------------------------------
 # faults
+# ----------------------------------------------------------------------
 # Provide information on the fault (interface).
-# ----------------------------------------------------------------------
 [pylithapp.timedependent.interfaces]
 
 # This fault is a cohesive element fault with kinematically-specified slip.
@@ -93,7 +93,7 @@
 
 # ----------------------------------------------------------------------
 # output
+# ----------------------------------------------------------------------
 # Give basename for vtk output.
-# ----------------------------------------------------------------------
 [pylithapp.problem.formulation.output.output]
 filename = dislocation.vtk

Modified: short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twotet4/pylithapp.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -14,9 +14,9 @@
 
 # ----------------------------------------------------------------------
 # journal
+# ----------------------------------------------------------------------
 # The settings below turn on journal info for the specified components.
 # If you want less output to stdout, you can turn these off.
-# ----------------------------------------------------------------------
 [pylithapp.journal.info]
 timedependent = 1
 explicit = 1
@@ -31,8 +31,8 @@
 
 # ----------------------------------------------------------------------
 # mesh_generator
+# ----------------------------------------------------------------------
 # The settings below control the mesh generation (importing mesh info).
-# ----------------------------------------------------------------------
 # Turn on debugging output for mesh generation.
 [pylithapp.mesh_generator]
 debug = 1
@@ -46,6 +46,7 @@
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem, so we select this as our problem type.
 # We select a total time of 1 sec, and a time step size of 1 sec, so we
@@ -53,7 +54,6 @@
 # The spatial dimension for this problem is 2.
 # For an implicit formulation (using implicit.cfg), we will perform 1
 # implicit time step from t = -1.0 to t = 0.0 (elastic solution step).
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 total_time = 0.0*s
 default_dt = 1.0*s
@@ -61,8 +61,8 @@
 
 # ----------------------------------------------------------------------
 # materials
+# ----------------------------------------------------------------------
 # Specify the material information for the problem.
-# ----------------------------------------------------------------------
 # The material type is 3D isotropic Maxwell viscoelastic.
 [pylithapp.timedependent.materials]
 material = pylith.materials.MaxwellIsotropic3D
@@ -86,12 +86,12 @@
 
 # ----------------------------------------------------------------------
 # PETSc
+# ----------------------------------------------------------------------
 # We are using all of the default settings for PETSc except for specifying
-# the Jacobi preconditioner.
+# the block Jacobi preconditioner.
 # Additional PETSc command-line arguments may be found in the PETSc
 # documentation.
-# ----------------------------------------------------------------------
 [pylithapp.petsc]
-pc_type = jacobi
+pc_type = bjacobi
 # start_in_debugger = true
 # debugger_timeout = 100

Modified: short/3D/PyLith/trunk/examples/twocells/twotri3/axialdisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/axialdisp.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twotri3/axialdisp.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -14,9 +14,9 @@
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem so we use that facility.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 
 # We want an implicit formulation.
@@ -27,8 +27,8 @@
 
 # ----------------------------------------------------------------------
 # boundary conditions
+# ----------------------------------------------------------------------
 # Provide information on the boundary conditions.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent.bc.bc]
 
 # We are fixing the 0 (x) and 1 (y) degrees of freedom.
@@ -47,7 +47,7 @@
 
 # ----------------------------------------------------------------------
 # output
+# ----------------------------------------------------------------------
 # Give basename for vtk output.
-# ----------------------------------------------------------------------
 [pylithapp.problem.formulation.output.output]
 filename = axialdisp.vtk

Modified: short/3D/PyLith/trunk/examples/twocells/twotri3/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/dislocation.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twotri3/dislocation.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -14,17 +14,17 @@
 
 # ----------------------------------------------------------------------
 # journal
+# ----------------------------------------------------------------------
 # Journal settings in addition to those given in 'pylithapp.cfg'
-# ----------------------------------------------------------------------
 [pylithapp.journal.info]
 quadrature1d = 1
 faultcohesivekin = 1
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem so we use that facility.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 
 # We want an implicit formulation.
@@ -38,8 +38,8 @@
 
 # ----------------------------------------------------------------------
 # boundary conditions
+# ----------------------------------------------------------------------
 # Provide information on the boundary conditions.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent.bc.bc]
 
 # We are fixing the 0 (x) and 1 (y) degrees of freedom.
@@ -58,8 +58,8 @@
 
 # ----------------------------------------------------------------------
 # faults
+# ----------------------------------------------------------------------
 # Provide information on the fault (interface).
-# ----------------------------------------------------------------------
 [pylithapp.timedependent.interfaces]
 
 # This fault is a cohesive element fault with kinematically-specified slip.
@@ -93,7 +93,7 @@
 
 # ----------------------------------------------------------------------
 # output
+# ----------------------------------------------------------------------
 # Give basename for vtk output.
-# ----------------------------------------------------------------------
 [pylithapp.problem.formulation.output.output]
 filename = dislocation.vtk

Modified: short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twotri3/pylithapp.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -14,9 +14,9 @@
 
 # ----------------------------------------------------------------------
 # journal
+# ----------------------------------------------------------------------
 # The settings below turn on journal info for the specified components.
 # If you want less output to stdout, you can turn these off.
-# ----------------------------------------------------------------------
 [pylithapp.journal.info]
 timedependent = 1
 explicit = 1
@@ -31,8 +31,8 @@
 
 # ----------------------------------------------------------------------
 # mesh_generator
+# ----------------------------------------------------------------------
 # The settings below control the mesh generation (importing mesh info).
-# ----------------------------------------------------------------------
 # Turn on debugging output for mesh generation.
 [pylithapp.mesh_generator]
 debug = 1
@@ -46,6 +46,7 @@
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem, so we select this as our problem type.
 # We select a total time of 1 sec, and a time step size of 1 sec, so we
@@ -53,7 +54,6 @@
 # The spatial dimension for this problem is 2.
 # For an implicit formulation (using implicit.cfg), we will perform 1
 # implicit time step from t = -1.0 to t = 0.0 (elastic solution step).
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 total_time = 0.0*s
 default_dt = 1.0*s
@@ -61,8 +61,8 @@
 
 # ----------------------------------------------------------------------
 # materials
+# ----------------------------------------------------------------------
 # Specify the material information for the problem.
-# ----------------------------------------------------------------------
 # The material type is isotropic elastic formulated for plane strain.
 [pylithapp.timedependent.materials]
 material = pylith.materials.ElasticPlaneStrain
@@ -86,12 +86,12 @@
 
 # ----------------------------------------------------------------------
 # PETSc
+# ----------------------------------------------------------------------
 # We are using all of the default settings for PETSc except for specifying
-# the Jacobi preconditioner.
+# the block Jacobi preconditioner.
 # Additional PETSc command-line arguments may be found in the PETSc
 # documentation.
-# ----------------------------------------------------------------------
 [pylithapp.petsc]
-pc_type = jacobi
+pc_type = bjacobi
 # start_in_debugger = true
 # debugger_timeout = 100

Modified: short/3D/PyLith/trunk/examples/twocells/twotri3/sheardisp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/sheardisp.cfg	2007-06-23 06:56:37 UTC (rev 7415)
+++ short/3D/PyLith/trunk/examples/twocells/twotri3/sheardisp.cfg	2007-06-23 06:57:30 UTC (rev 7416)
@@ -13,9 +13,9 @@
 
 # ----------------------------------------------------------------------
 # problem
+# ----------------------------------------------------------------------
 # Specify the problem settings.
 # This is a time-dependent problem so we use that facility.
-# ----------------------------------------------------------------------
 [pylithapp.timedependent]
 
 # We want an implicit formulation.
@@ -27,8 +27,8 @@
 
 # ----------------------------------------------------------------------
 # boundary conditions
+# ----------------------------------------------------------------------
 # Provide information on the boundary conditions.
-# ----------------------------------------------------------------------
 
 # Boundary conditions to be applied to the negative x-side of the mesh.
 [pylithapp.timedependent.bc.x_neg]
@@ -69,7 +69,7 @@
 # PETSc
 # ----------------------------------------------------------------------
 [pylithapp.petsc]
-pc_type = jacobi
+pc_type = bjacobi
 
 # ----------------------------------------------------------------------
 # output



More information about the cig-commits mailing list