[cig-commits] [commit] knepley/fix-faults-parallel: Removed obsolete unused full-scale test files. (3e60317)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Fri Apr 18 13:33:33 PDT 2014


Repository : ssh://geoshell/pylith

On branch  : knepley/fix-faults-parallel
Link       : https://github.com/geodynamics/pylith/compare/1cbca9cbd832376cceca629383ad3c8e3db090f0...1169098c7387a0574706ddb12645c08f3401a304

>---------------------------------------------------------------

commit 3e60317e485f61e3a2f024f0920956d19acb53c3
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Fri Apr 18 12:42:24 2014 -0700

    Removed obsolete unused full-scale test files.


>---------------------------------------------------------------

3e60317e485f61e3a2f024f0920956d19acb53c3
 tests_auto/2d/tri3/TestDislocation2.py |  76 --------------------
 tests_auto/2d/tri3/dislocation2.cfg    | 122 ---------------------------------
 2 files changed, 198 deletions(-)

diff --git a/tests_auto/2d/tri3/TestDislocation2.py b/tests_auto/2d/tri3/TestDislocation2.py
deleted file mode 100644
index b495765..0000000
--- a/tests_auto/2d/tri3/TestDislocation2.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/usr/bin/env python
-#
-# ----------------------------------------------------------------------
-#
-# Brad T. Aagaard, U.S. Geological Survey
-# Charles A. Williams, GNS Science
-# Matthew G. Knepley, University of Chicago
-#
-# This code was developed as part of the Computational Infrastructure
-# for Geodynamics (http://geodynamics.org).
-#
-# Copyright (c) 2010-2014 University of California, Davis
-#
-# See COPYING for license information.
-#
-# ----------------------------------------------------------------------
-#
-
-## @file tests/2d/tri3/TestDislocation2.py
-##
-## @brief Test suite for testing pylith with two parallel shear
-## dislocations for 2-D box.
-
-import unittest
-
-# Local application
-from pylith.apps.PyLithApp import PyLithApp
-class DislocationApp(PyLithApp):
-  def __init__(self):
-    PyLithApp.__init__(self, name="dislocation2")
-    return
-
-
-# Helper function to run PyLith
-def run_pylith():
-  """
-  Run pylith.
-  """
-  if not "done" in dir(run_pylith):
-    app = DislocationApp()
-    app.run()
-    run_pylith.done = True
-  return
-
-
-class TestDislocation2(unittest.TestCase):
-  """
-  Test suite for testing pylith with shear dislocation for 2-D box.
-  """
-
-  def setUp(self):
-    """
-    Setup for test.
-    """
-    run_pylith()
-    return
-
-
-  def test_disp(self):
-    """
-    Check displacement field.
-    """
-    return
-
-
-# ----------------------------------------------------------------------
-if __name__ == '__main__':
-  import unittest
-  from TestDislocation2 import TestDislocation2 as Tester
-
-  suite = unittest.TestSuite()
-  suite.addTest(unittest.makeSuite(Tester))
-  unittest.TextTestRunner(verbosity=2).run(suite)
-
-
-# End of file 
diff --git a/tests_auto/2d/tri3/dislocation2.cfg b/tests_auto/2d/tri3/dislocation2.cfg
deleted file mode 100644
index 30eddd4..0000000
--- a/tests_auto/2d/tri3/dislocation2.cfg
+++ /dev/null
@@ -1,122 +0,0 @@
-[dislocation2]
-
-# ----------------------------------------------------------------------
-# journal
-# ----------------------------------------------------------------------
-[dislocation2.journal.info]
-#timedependent = 1
-#implicit = 1
-#petsc = 1
-#solverlinear = 1
-#meshiocubit = 1
-#implicitelasticity = 1
-#quadrature = 1
-#fiatsimplex = 1
-
-# ----------------------------------------------------------------------
-# mesh_generator
-# ----------------------------------------------------------------------
-[dislocation2.mesh_generator]
-#debug = 1
-reader = pylith.meshio.MeshIOCubit
-
-[dislocation2.mesh_generator.reader]
-filename = box_tri3_100m.exo
-use_nodeset_names = False
-coordsys.space_dim = 2
-
-# ----------------------------------------------------------------------
-# problem
-# ----------------------------------------------------------------------
-[dislocation2.timedependent]
-dimension = 2
-bc = [y_neg,y_pos]
-interfaces = [fault_pos,fault_neg]
-
-[dislocation2.timedependent.formulation.time_step]
-total_time = 0.0*s
-
-# ----------------------------------------------------------------------
-# materials
-# ----------------------------------------------------------------------
-[dislocation2.timedependent]
-materials = [elastic]
-materials.elastic = pylith.materials.ElasticPlaneStrain
-
-[dislocation2.timedependent.materials.elastic]
-label = Elastic material
-id = 1
-db_properties.label = Elastic properties
-db_properties.iohandler.filename = matprops.spatialdb
-quadrature.cell.dimension = 2
-
-# ----------------------------------------------------------------------
-# boundary conditions
-# ----------------------------------------------------------------------
-[dislocation2.timedependent.bc.y_neg]
-bc_dof = [0, 1]
-label = 23
-db.label = Dirichlet BC -y edge
-
-[dislocation2.timedependent.bc.y_pos]
-bc_dof = [0, 1]
-label = 22
-db.label = Dirichlet BC +y edge
-
-# ----------------------------------------------------------------------
-# faults
-# ----------------------------------------------------------------------
-[dislocation2.timedependent.interfaces]
-
-[dislocation2.timedependent.interfaces.fault_pos]
-id = 2
-label = 11
-quadrature.cell.dimension = 1
-mat_db.iohandler.filename = matprops.spatialdb
-
-[dislocation2.timedependent.interfaces.fault_pos.eq_srcs.rupture.slip_function]
-slip.iohandler.filename = dislocation_slipLL.spatialdb
-slip_time.iohandler.filename = dislocation_sliptime.spatialdb
-
-
-[dislocation2.timedependent.interfaces.fault_neg]
-id = 3
-label = 12
-quadrature.cell.dimension = 1
-mat_db.iohandler.filename = matprops.spatialdb
-
-[dislocation2.timedependent.interfaces.fault_neg.eq_srcs.rupture.slip_function]
-slip.iohandler.filename = dislocation_slipRL.spatialdb
-slip_time.iohandler.filename = dislocation_sliptime.spatialdb
-
-
-# ----------------------------------------------------------------------
-# PETSc
-# ----------------------------------------------------------------------
-[dislocation2.petsc]
-ksp_rtol = 1.0e-8
-pc_type = asm
-ksp_max_it = 100
-ksp_gmres_restart = 50
-#ksp_monitor = true
-#ksp_view = true
-#log_summary = true
-# start_in_debugger = true
-
-# ----------------------------------------------------------------------
-# output
-# ----------------------------------------------------------------------
-# Give basename for VTK domain output of solution over domain.
-[dislocation2.problem.formulation.output.output.writer]
-filename = dislocation2.vtk
-
-# Give basename for VTK output of state variables.
-[dislocation2.timedependent.materials.elastic.output]
-cell_filter = pylith.meshio.CellFilterAvg
-writer.filename = dislocation2-statevars-elastic.vtk
-
-[dislocation2.timedependent.interfaces.fault_pos.output.writer]
-filename = dislocation2-fault-pos.vtk
-
-[dislocation2.timedependent.interfaces.fault_neg.output.writer]
-filename = dislocation2-fault-neg.vtk



More information about the CIG-COMMITS mailing list