[cig-commits] r7242 - in short/3D/PyLith/trunk: libsrc/faults tests/1d/line2 tests/1d/line3 tests/2d/quad4 tests/2d/tri3 tests/3d/tet4 unittests/libtests/faults unittests/libtests/faults/data unittests/pytests/faults/data

brad at geodynamics.org brad at geodynamics.org
Thu Jun 14 13:28:56 PDT 2007


Author: brad
Date: 2007-06-14 13:28:55 -0700 (Thu, 14 Jun 2007)
New Revision: 7242

Added:
   short/3D/PyLith/trunk/tests/3d/tet4/TestDislocation.py
   short/3D/PyLith/trunk/tests/3d/tet4/dislocation.cfg
   short/3D/PyLith/trunk/tests/3d/tet4/dislocation_disp.spatialdb
   short/3D/PyLith/trunk/tests/3d/tet4/dislocation_slip.spatialdb
   short/3D/PyLith/trunk/tests/3d/tet4/dislocation_sliprate.spatialdb
   short/3D/PyLith/trunk/tests/3d/tet4/dislocation_sliptime.spatialdb
   short/3D/PyLith/trunk/tests/3d/tet4/twocells.mesh
Modified:
   short/3D/PyLith/trunk/libsrc/faults/BruneSlipFn.cc
   short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc
   short/3D/PyLith/trunk/tests/1d/line2/dislocation_slip.spatialdb
   short/3D/PyLith/trunk/tests/1d/line3/dislocation_slip.spatialdb
   short/3D/PyLith/trunk/tests/2d/quad4/dislocation_slip.spatialdb
   short/3D/PyLith/trunk/tests/2d/tri3/dislocation_slip.spatialdb
   short/3D/PyLith/trunk/tests/3d/tet4/Makefile.am
   short/3D/PyLith/trunk/tests/3d/tet4/shearelasticisotropic.cfg
   short/3D/PyLith/trunk/tests/3d/tet4/testpylith.py
   short/3D/PyLith/trunk/unittests/libtests/faults/TestFaultCohesive.cc
   short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinDataQuad4.cc
   short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinDataTri3.cc
   short/3D/PyLith/trunk/unittests/libtests/faults/data/line2_finalslip.spatialdb
   short/3D/PyLith/trunk/unittests/libtests/faults/data/quad4_finalslip.spatialdb
   short/3D/PyLith/trunk/unittests/libtests/faults/data/tri3_finalslip.spatialdb
   short/3D/PyLith/trunk/unittests/pytests/faults/data/tri3_finalslip.spatialdb
Log:
Adjusted fault slip orientations so that we are consistent across dimensions (left-lateral, reverse, opening). Also adjusted names so that they are consistent and unambiguous.

Modified: short/3D/PyLith/trunk/libsrc/faults/BruneSlipFn.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/BruneSlipFn.cc	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/libsrc/faults/BruneSlipFn.cc	2007-06-14 20:28:55 UTC (rev 7242)
@@ -104,12 +104,12 @@
   switch (spaceDim)
     { // switch
     case 1 : {
-      const char* slipValues[] = {"slip"};
+      const char* slipValues[] = {"fault-opening"};
       _dbFinalSlip->queryVals(slipValues, 1);
       break;
     } // case 1
     case 2 : {
-      const char* slipValues[] = {"slip", "fault-opening"};
+      const char* slipValues[] = {"left-lateral-slip", "fault-opening"};
       _dbFinalSlip->queryVals(slipValues, 2);
       break;
     } // case 2

Modified: short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/libsrc/faults/FaultCohesive.cc	2007-06-14 20:28:55 UTC (rev 7242)
@@ -85,8 +85,8 @@
 
   const double j1 = jacobian[0];
   const double j2 = jacobian[1];
-  (*orientation)[0] = -j1;
-  (*orientation)[1] = -j2;
+  (*orientation)[0] =  j1;
+  (*orientation)[1] =  j2;
   (*orientation)[2] =  j2;
   (*orientation)[3] = -j1;
 } // _orient2D

Modified: short/3D/PyLith/trunk/tests/1d/line2/dislocation_slip.spatialdb
===================================================================
--- short/3D/PyLith/trunk/tests/1d/line2/dislocation_slip.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/1d/line2/dislocation_slip.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -1,7 +1,7 @@
 #SPATIAL.ascii 1
 SimpleDB {
   num-values = 1
-  value-names =  slip
+  value-names =  fault-opening
   value-units =  m
   num-locs = 1
   data-dim = 0

Modified: short/3D/PyLith/trunk/tests/1d/line3/dislocation_slip.spatialdb
===================================================================
--- short/3D/PyLith/trunk/tests/1d/line3/dislocation_slip.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/1d/line3/dislocation_slip.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -1,7 +1,7 @@
 #SPATIAL.ascii 1
 SimpleDB {
   num-values = 1
-  value-names =  slip
+  value-names =  fault-opening
   value-units =  m
   num-locs = 1
   data-dim = 0

Modified: short/3D/PyLith/trunk/tests/2d/quad4/dislocation_slip.spatialdb
===================================================================
--- short/3D/PyLith/trunk/tests/2d/quad4/dislocation_slip.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/2d/quad4/dislocation_slip.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -1,7 +1,7 @@
 #SPATIAL.ascii 1
 SimpleDB {
   num-values = 2
-  value-names =  slip fault-opening
+  value-names =  left-lateral-slip fault-opening
   value-units =  m  m
   num-locs = 1
   data-dim = 0

Modified: short/3D/PyLith/trunk/tests/2d/tri3/dislocation_slip.spatialdb
===================================================================
--- short/3D/PyLith/trunk/tests/2d/tri3/dislocation_slip.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/2d/tri3/dislocation_slip.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -1,7 +1,7 @@
 #SPATIAL.ascii 1
 SimpleDB {
   num-values = 2
-  value-names =  slip fault-opening
+  value-names =  left-lateral-slip fault-opening
   value-units =  m  m
   num-locs = 1
   data-dim = 0

Modified: short/3D/PyLith/trunk/tests/3d/tet4/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/Makefile.am	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/3d/tet4/Makefile.am	2007-06-14 20:28:55 UTC (rev 7242)
@@ -16,20 +16,33 @@
 
 noinst_PYTHON = \
 	TestAxialElasticIsotropic.py \
-	TestShearElasticIsotropic.py
+	TestShearElasticIsotropic.py \
+	TestDislocation.py
 
 noinst_DATA = \
 	box.exo \
+	matprops.spatialdb \
 	axialelasticisotropic.cfg \
 	axialx.spatialdb \
 	axialy.spatialdb \
 	axialz.spatialdb \
 	shearelasticisotropic.cfg \
 	shearxyz.spatialdb \
-	matprops.spatialdb
+	twocells.mesh \
+	dislocation.cfg \
+	dislocation_disp.spatialdb \
+	dislocation_sliprate.spatialdb \
+	dislocation_slip.spatialdb \
+	dislocation_sliptime.spatialdb
 
+
 noinst_TMP = \
-	axialelasticisotropic.vtk
+	axialelasticisotropic_t0.vtk \
+	axialelasticisotropic_t1.vtk \
+	shearelasticisotropic_t0.vtk \
+	shearelasticisotropic_t1.vtk \
+	dislocation_t0.vtk \
+	dislocation_t1.vtk
 
 
 TESTS_ENVIRONMENT = $(PYTHON)

Added: short/3D/PyLith/trunk/tests/3d/tet4/TestDislocation.py
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/TestDislocation.py	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/3d/tet4/TestDislocation.py	2007-06-14 20:28:55 UTC (rev 7242)
@@ -0,0 +1,53 @@
+#!/usr/bin/env python
+#
+# ----------------------------------------------------------------------
+#
+#                           Brad T. Aagaard
+#                        U.S. Geological Survey
+#
+# <LicenseText>
+#
+# ----------------------------------------------------------------------
+#
+
+## @file tests/3d/tet4/TestDislocation.py
+##
+## @brief Test suite for testing pylith shear dislocation for 3-D box.
+
+import unittest
+import numpy
+import tables
+
+def run_pylith():
+  """
+  Run pylith.
+  """
+  if not "done" in dir(run_pylith):
+    from pylith.PyLithApp import PyLithApp
+    app = PyLithApp("dislocation")
+    app.run()
+    run_pylith.done = True
+  return
+
+
+class TestDislocation(unittest.TestCase):
+  """
+  Test suite for testing pylith with shear dislocation for 3-D box.
+  """
+
+  def setUp(self):
+    """
+    Setup for test.
+    """
+    run_pylith()
+    return
+
+
+  def test_disp(self):
+    """
+    Check displacement field.
+    """
+    return
+
+
+# End of file 

Added: short/3D/PyLith/trunk/tests/3d/tet4/dislocation.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/dislocation.cfg	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/3d/tet4/dislocation.cfg	2007-06-14 20:28:55 UTC (rev 7242)
@@ -0,0 +1,92 @@
+# -*- Python -*-
+[pylithapp]
+
+# ----------------------------------------------------------------------
+# journal
+# ----------------------------------------------------------------------
+[pylithapp.journal.info]
+timedependent = 1
+explicit = 1
+implicit = 1
+petsc = 1
+solverlinear = 1
+meshioascii = 1
+homogeneous = 1
+implicitelasticity = 1
+quadrature1d = 1
+fiatsimplex = 1
+faultcohesivekin = 1
+
+# ----------------------------------------------------------------------
+# mesh_generator
+# ----------------------------------------------------------------------
+[pylithapp.mesh_generator]
+debug = 1
+
+[pylithapp.mesh_generator.importer]
+filename = twocells.mesh
+coordsys.space_dim = 3
+
+# ----------------------------------------------------------------------
+# problem
+# ----------------------------------------------------------------------
+[pylithapp.timedependent]
+total_time = 0.0*s
+default_dt = 1.0*s
+dimension = 3
+formulation = pylith.problems.Implicit
+bc = pylith.bc.BCSingle
+interfaces = pylith.faults.SingleFault
+
+# ----------------------------------------------------------------------
+# materials
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.materials]
+material = pylith.materials.ElasticIsotropic3D
+
+[pylithapp.timedependent.materials.material]
+label = elastic material
+id = 0
+db.iohandler.filename = matprops.spatialdb
+quadrature = pylith.feassemble.quadrature.Quadrature3D
+quadrature.cell.shape = tetrahedron
+
+# ----------------------------------------------------------------------
+# boundary conditions
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.bc.bc]
+fixed_dof = [0]
+id = 10
+label = end points
+db.label = Dirichlet BC
+db.iohandler.filename = dislocation_disp.spatialdb
+
+# ----------------------------------------------------------------------
+# faults
+# ----------------------------------------------------------------------
+[pylithapp.timedependent.interfaces]
+fault = pylith.faults.FaultCohesiveKin
+
+[pylithapp.timedependent.interfaces.fault]
+id = 20
+label = fault
+quadrature = pylith.feassemble.quadrature.Quadrature2Din3D
+quadrature.cell.shape = triangle
+
+[pylithapp.timedependent.interfaces.fault.eq_src.slip_function]
+slip.iohandler.filename = dislocation_slip.spatialdb
+slip_rate.iohandler.filename = dislocation_sliprate.spatialdb
+slip_time.iohandler.filename = dislocation_sliptime.spatialdb
+
+
+# ----------------------------------------------------------------------
+# PETSc
+# ----------------------------------------------------------------------
+[pylithapp.petsc]
+pc_type = jacobi
+
+# ----------------------------------------------------------------------
+# output
+# ----------------------------------------------------------------------
+[pylithapp.problem.formulation.output.output]
+filename = dislocation.vtk

Added: short/3D/PyLith/trunk/tests/3d/tet4/dislocation_disp.spatialdb
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/dislocation_disp.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/3d/tet4/dislocation_disp.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -0,0 +1,14 @@
+#SPATIAL.ascii 1
+SimpleDB {
+  num-values = 3
+  value-names =  dof-0 dof-1 dof-2
+  value-units =  m  m  m
+  num-locs = 1
+  data-dim = 0
+  space-dim = 3
+  cs-data = cartesian {
+    to-meters = 1.0
+    space-dim = 3
+  }
+}
+0.0  0.0  0.0    0.0  0.0  0.0

Added: short/3D/PyLith/trunk/tests/3d/tet4/dislocation_slip.spatialdb
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/dislocation_slip.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/3d/tet4/dislocation_slip.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -0,0 +1,14 @@
+#SPATIAL.ascii 1
+SimpleDB {
+  num-values = 3
+  value-names =  left-lateral-slip  reverse-slip  fault-opening
+  value-units =  m  m  m
+  num-locs = 1
+  data-dim = 0
+  space-dim = 3
+  cs-data = cartesian {
+    to-meters = 1.0
+    space-dim = 3
+  }
+}
+0.0  0.0  0.0   1.0  0.5  0.0

Added: short/3D/PyLith/trunk/tests/3d/tet4/dislocation_sliprate.spatialdb
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/dislocation_sliprate.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/3d/tet4/dislocation_sliprate.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -0,0 +1,14 @@
+#SPATIAL.ascii 1
+SimpleDB {
+  num-values = 1
+  value-names =  slip-rate
+  value-units =  m/s
+  num-locs = 1
+  data-dim = 0
+  space-dim = 3
+  cs-data = cartesian {
+    to-meters = 1.0
+    space-dim = 3
+  }
+}
+0.0  0.0  0.0  1.0e+6

Added: short/3D/PyLith/trunk/tests/3d/tet4/dislocation_sliptime.spatialdb
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/dislocation_sliptime.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/3d/tet4/dislocation_sliptime.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -0,0 +1,14 @@
+#SPATIAL.ascii 1
+SimpleDB {
+  num-values = 1
+  value-names =  slip-time
+  value-units =  s
+  num-locs = 1
+  data-dim = 0
+  space-dim = 3
+  cs-data = cartesian {
+    to-meters = 1.0
+    space-dim = 3
+  }
+}
+0.0  0.0  0.0   -1.0

Modified: short/3D/PyLith/trunk/tests/3d/tet4/shearelasticisotropic.cfg
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/shearelasticisotropic.cfg	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/3d/tet4/shearelasticisotropic.cfg	2007-06-14 20:28:55 UTC (rev 7242)
@@ -54,19 +54,33 @@
 # boundary conditions
 # ----------------------------------------------------------------------
 [pylithapp.timedependent.bc.x_neg]
-fixed_dof = [0, 1, 2]
+fixed_dof = [0]
 id = 3
 label = 3
 db.label = Dirichlet BC -x edge
 db.iohandler.filename = shearxyz.spatialdb
 
 [pylithapp.timedependent.bc.x_pos]
-fixed_dof = [0, 1, 2]
+fixed_dof = [0]
 id = 4
 label = 4
 db.label = Dirichlet BC +x edge
 db.iohandler.filename = shearxyz.spatialdb
 
+[pylithapp.timedependent.bc.y_neg]
+fixed_dof = [1, 2]
+id = 5
+label = 5
+db.label = Dirichlet BC -y edge
+db.iohandler.filename = shearxyz.spatialdb
+
+[pylithapp.timedependent.bc.y_pos]
+fixed_dof = [1, 2]
+id = 6
+label = 6
+db.label = Dirichlet BC +y edge
+db.iohandler.filename = shearxyz.spatialdb
+
 # ----------------------------------------------------------------------
 # PETSc
 # ----------------------------------------------------------------------

Modified: short/3D/PyLith/trunk/tests/3d/tet4/testpylith.py
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/testpylith.py	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/3d/tet4/testpylith.py	2007-06-14 20:28:55 UTC (rev 7242)
@@ -26,6 +26,9 @@
   from TestShearElasticIsotropic import TestShearElasticIsotropic
   suite.addTest(unittest.makeSuite(TestShearElasticIsotropic))
 
+  from TestDislocation import TestDislocation
+  suite.addTest(unittest.makeSuite(TestDislocation))
+
   return suite
 
 

Added: short/3D/PyLith/trunk/tests/3d/tet4/twocells.mesh
===================================================================
--- short/3D/PyLith/trunk/tests/3d/tet4/twocells.mesh	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/tests/3d/tet4/twocells.mesh	2007-06-14 20:28:55 UTC (rev 7242)
@@ -0,0 +1,46 @@
+mesh = {
+  dimension = 3
+  use-index-zero = true
+  vertices = {
+    dimension = 3
+    count = 5
+    coordinates = {
+             0     -1.0  0.0  0.0
+             1      0.0 -1.0  0.0
+             2      0.0  0.0  1.0
+             3      0.0  1.0  0.0
+             4      1.0  0.0  0.0
+    }
+  }
+  cells = {
+    count = 2
+    num-corners = 4
+    simplices = {
+             0       1  2  3  0
+             1       1  3  2  4
+    }
+    material-ids = {
+             0   0
+             1   0
+    }
+  }
+  group = {
+    name = fault
+    type = vertices
+    count = 3
+    indices = {
+      1
+      2
+      3
+    }
+  }
+  group = {
+    name = end points
+    type = vertices
+    count = 2
+    indices = {
+      0
+      4
+    }
+  }
+}

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/TestFaultCohesive.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/TestFaultCohesive.cc	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/TestFaultCohesive.cc	2007-06-14 20:28:55 UTC (rev 7242)
@@ -340,8 +340,8 @@
     -0.5, 1.0
   };
   const double orientationE[] = {
-     1.0, -2.0,  2.0, 1.0,
-     0.5, -1.0,  1.0, 0.5
+    -1.0,  2.0,  2.0, 1.0,
+    -0.5,  1.0,  1.0, 0.5
   };
 
   const int jacobianSize = spaceDim*(spaceDim-1);

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinDataQuad4.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinDataQuad4.cc	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinDataQuad4.cc	2007-06-14 20:28:55 UTC (rev 7242)
@@ -106,8 +106,8 @@
 const int pylith::faults::CohesiveKinDataQuad4::_numConstraintVert = 2;
 
 const double pylith::faults::CohesiveKinDataQuad4::_orientation[] = {
-  0.0, -1.0,  +1.0, 0.0,
-  0.0, -1.0,  +1.0, 0.0
+  0.0,  1.0,  +1.0, 0.0,
+  0.0,  1.0,  +1.0, 0.0
 };
 
 const int pylith::faults::CohesiveKinDataQuad4::_constraintVertices[] = {
@@ -185,7 +185,7 @@
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
- +1.0, 0.0, //  9
+ -1.0, 0.0, //  9
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0, // 5x
@@ -207,7 +207,7 @@
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
- +1.0, 0.0, //  11
+ -1.0, 0.0, //  11
   0.0, 0.0, // 6x
   0.0, 0.0,
   0.0, 0.0,
@@ -265,16 +265,16 @@
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
- -1.0, 0.0, //  9
+ +1.0, 0.0, //  9
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0, // 9x
   0.0, 0.0,
-  0.0,+1.0, //  4
+  0.0,-1.0, //  4
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
-  0.0,-1.0, //  8
+  0.0,+1.0, //  8
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
@@ -307,16 +307,16 @@
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
- -1.0, 0.0, // 11
+ +1.0, 0.0, // 11
   0.0, 0.0, // 11x
   0.0, 0.0,
   0.0, 0.0,
-  0.0,+1.0, //  5
+  0.0,-1.0, //  5
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
-  0.0,-1.0, //  10
+  0.0,+1.0, //  10
   0.0, 0.0,
   0.0, 0.0, // 11y
   0.0, 0.0,

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinDataTri3.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinDataTri3.cc	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/data/CohesiveKinDataTri3.cc	2007-06-14 20:28:55 UTC (rev 7242)
@@ -106,8 +106,8 @@
 const int pylith::faults::CohesiveKinDataTri3::_numConstraintVert = 2;
 
 const double pylith::faults::CohesiveKinDataTri3::_orientation[] = {
-  0.0, -1.0,  +1.0, 0.0,
-  0.0, -1.0,  +1.0, 0.0
+  0.0, +1.0,  +1.0, 0.0,
+  0.0, +1.0,  +1.0, 0.0
 };
 
 const int pylith::faults::CohesiveKinDataTri3::_constraintVertices[] = {
@@ -155,7 +155,7 @@
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
- +1.0, 0.0, //  7
+ -1.0, 0.0, //  7
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0, // 4x
@@ -173,7 +173,7 @@
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
- +1.0, 0.0, //  9
+ -1.0, 0.0, //  9
   0.0, 0.0, // 5x
   0.0, 0.0,
   0.0, 0.0,
@@ -203,14 +203,14 @@
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
- -1.0, 0.0, //  7
+ +1.0, 0.0, //  7
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0, // 7x
-  0.0,+1.0, //  3
+  0.0,-1.0, //  3
   0.0, 0.0,
   0.0, 0.0,
-  0.0,-1.0, //  6
+  0.0,+1.0, //  6
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
@@ -237,14 +237,14 @@
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
- -1.0, 0.0, //  9
+ +1.0, 0.0, //  9
   0.0, 0.0, // 9x
   0.0, 0.0,
-  0.0,+1.0, //  4
+  0.0,-1.0, //  4
   0.0, 0.0,
   0.0, 0.0,
   0.0, 0.0,
-  0.0,-1.0, //  8
+  0.0,+1.0, //  8
   0.0, 0.0,
   0.0, 0.0, // 9y
   0.0, 0.0,

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/data/line2_finalslip.spatialdb
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/data/line2_finalslip.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/data/line2_finalslip.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -1,7 +1,7 @@
 #SPATIAL.ascii 1
 SimpleDB {
   num-values = 1
-  value-names =  slip
+  value-names =  fault-opening
   value-units =  m
   num-locs = 1
   data-dim = 0

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/data/quad4_finalslip.spatialdb
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/data/quad4_finalslip.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/data/quad4_finalslip.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -1,7 +1,7 @@
 #SPATIAL.ascii 1
 SimpleDB {
   num-values = 2
-  value-names =  slip fault-opening
+  value-names =  left-lateral-slip fault-opening
   value-units =  m   m
   num-locs = 2
   data-dim = 1

Modified: short/3D/PyLith/trunk/unittests/libtests/faults/data/tri3_finalslip.spatialdb
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/data/tri3_finalslip.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/data/tri3_finalslip.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -1,7 +1,7 @@
 #SPATIAL.ascii 1
 SimpleDB {
   num-values = 2
-  value-names =  slip fault-opening
+  value-names =  left-lateral-slip fault-opening
   value-units =  m   m
   num-locs = 2
   data-dim = 1

Modified: short/3D/PyLith/trunk/unittests/pytests/faults/data/tri3_finalslip.spatialdb
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/faults/data/tri3_finalslip.spatialdb	2007-06-14 20:28:50 UTC (rev 7241)
+++ short/3D/PyLith/trunk/unittests/pytests/faults/data/tri3_finalslip.spatialdb	2007-06-14 20:28:55 UTC (rev 7242)
@@ -1,7 +1,7 @@
 #SPATIAL.ascii 1
 SimpleDB {
   num-values = 2
-  value-names =  slip fault-opening
+  value-names =  left-lateral-slip fault-opening
   value-units =  m   m
   num-locs = 2
   data-dim = 1



More information about the cig-commits mailing list