[cig-commits] r22181 - short/3D/PyLith/trunk/examples/3d/hex8

willic3 at geodynamics.org willic3 at geodynamics.org
Thu Jun 6 18:57:19 PDT 2013


Author: willic3
Date: 2013-06-06 18:57:19 -0700 (Thu, 06 Jun 2013)
New Revision: 22181

Modified:
   short/3D/PyLith/trunk/examples/3d/hex8/README
   short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg
   short/3D/PyLith/trunk/examples/3d/hex8/step21.cfg
Log:
Additional cleanup of GF example.



Modified: short/3D/PyLith/trunk/examples/3d/hex8/README
===================================================================
--- short/3D/PyLith/trunk/examples/3d/hex8/README	2013-06-07 01:47:47 UTC (rev 22180)
+++ short/3D/PyLith/trunk/examples/3d/hex8/README	2013-06-07 01:57:19 UTC (rev 22181)
@@ -32,7 +32,12 @@
 
 where xx is the number of the desired example.
 
+Note that the exception to this is step21.cfg (Green's function example).
+It is run as follows:
 
+pylith step21.cfg --problem=pylith.problems.GreensFns
+
+
 ----------------------------------------------------------------------
 DESCRIPTION OF FILES
 ----------------------------------------------------------------------

Modified: short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg	2013-06-07 01:47:47 UTC (rev 22180)
+++ short/3D/PyLith/trunk/examples/3d/hex8/pylithapp.cfg	2013-06-07 01:57:19 UTC (rev 22181)
@@ -10,6 +10,7 @@
 # Turn on some journals to show progress.
 [pylithapp.journal.info]
 timedependent = 1
+greensfns = 1
 implicit = 1
 petsc = 1
 solverlinear = 1

Modified: short/3D/PyLith/trunk/examples/3d/hex8/step21.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/hex8/step21.cfg	2013-06-07 01:47:47 UTC (rev 22180)
+++ short/3D/PyLith/trunk/examples/3d/hex8/step21.cfg	2013-06-07 01:57:19 UTC (rev 22181)
@@ -24,13 +24,6 @@
 # Output will be directed to directory output.
 
 # ----------------------------------------------------------------------
-# mesh_generator
-# ----------------------------------------------------------------------
-[pylithapp.mesh_generator]
-distributor.write_partition = True
-distributor.data_writer = pylith.meshio.DataWriterHDF5
-
-# ----------------------------------------------------------------------
 # problem
 # ----------------------------------------------------------------------
 [pylithapp.problem.formulation.time_step]
@@ -143,7 +136,9 @@
 writer.filename = output/step21-lower_crust.h5
 
 # Mesh partition information.
-[pylithapp.mesh_generator.distributor.data_writer]
-filename = output/step21-partition.h5
+[pylithapp.mesh_generator]
+distributor.write_partition = True
+distributor.data_writer = pylith.meshio.DataWriterHDF5
+distributor.data_writer.filename = output/step21-partition.h5
 
 # End of file



More information about the CIG-COMMITS mailing list