[cig-commits] r7356 - in short/3D/PyLith/trunk: examples/twocells/twotri3 tests/2d/tri3

brad at geodynamics.org brad at geodynamics.org
Thu Jun 21 14:41:23 PDT 2007


Author: brad
Date: 2007-06-21 14:41:23 -0700 (Thu, 21 Jun 2007)
New Revision: 7356

Added:
   short/3D/PyLith/trunk/tests/2d/tri3/explicit.cfg
Removed:
   short/3D/PyLith/trunk/examples/twocells/twotri3/explicit.cfg
Modified:
   short/3D/PyLith/trunk/tests/2d/tri3/Makefile.am
Log:
Moved explicit.cfg for twotri3 from examples to tests.

Deleted: short/3D/PyLith/trunk/examples/twocells/twotri3/explicit.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/explicit.cfg	2007-06-21 21:19:15 UTC (rev 7355)
+++ short/3D/PyLith/trunk/examples/twocells/twotri3/explicit.cfg	2007-06-21 21:41:23 UTC (rev 7356)
@@ -1,8 +0,0 @@
-# -*- Python -*-
-[pylithapp]
-
-# ----------------------------------------------------------------------
-# problem
-# ----------------------------------------------------------------------
-[pylithapp.timedependent]
-formulation = pylith.problems.Explicit

Modified: short/3D/PyLith/trunk/tests/2d/tri3/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/tests/2d/tri3/Makefile.am	2007-06-21 21:19:15 UTC (rev 7355)
+++ short/3D/PyLith/trunk/tests/2d/tri3/Makefile.am	2007-06-21 21:41:23 UTC (rev 7356)
@@ -32,7 +32,8 @@
 	dislocation_disp.spatialdb \
 	dislocation_sliprate.spatialdb \
 	dislocation_slip.spatialdb \
-	dislocation_sliptime.spatialdb
+	dislocation_sliptime.spatialdb \
+	explicit.cfg
 
 noinst_TMP = \
 	axialplanestrain_t0.vtk \

Copied: short/3D/PyLith/trunk/tests/2d/tri3/explicit.cfg (from rev 7355, short/3D/PyLith/trunk/examples/twocells/twotri3/explicit.cfg)
===================================================================
--- short/3D/PyLith/trunk/examples/twocells/twotri3/explicit.cfg	2007-06-21 21:19:15 UTC (rev 7355)
+++ short/3D/PyLith/trunk/tests/2d/tri3/explicit.cfg	2007-06-21 21:41:23 UTC (rev 7356)
@@ -0,0 +1,59 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# journal
+# ----------------------------------------------------------------------
+[pylithapp.journal.info]
+timedependent = 1
+explicit = 1
+implicit = 1
+petsc = 1
+solverlinear = 1
+meshioascii = 1
+homogeneous = 1
+implicitelasticity = 1
+quadrature2d = 1
+fiatsimplex = 1
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator]
+debug = 1
+
+[pylithapp.mesh_generator.importer]
+filename = twocells.mesh
+coordsys.space_dim = 2
+
+# ----------------------------------------------------------------------
+# problem
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+formulation = pylith.problems.Explicit
+total_time = 3.0*s
+default_dt = 1.0*s
+dimension = 2
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.materials]
+material = pylith.materials.ElasticPlaneStrain
+
+[pylithapp.timedependent.materials.material]
+label = elastic material
+id = 1
+db.iohandler.filename = matprops.spatialdb
+
+# We are doing 2D quadrature for a triangle.
+quadrature = pylith.feassemble.quadrature.Quadrature2D
+quadrature.cell.shape = triangle
+
+# ----------------------------------------------------------------------
+# PETSc
+# ----------------------------------------------------------------------
+[pylithapp.petsc]
+pc_type = jacobi
+# start_in_debugger = true
+# debugger_timeout = 100



More information about the cig-commits mailing list