[cig-commits] r14153 - short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data

brad at geodynamics.org brad at geodynamics.org
Wed Feb 25 17:06:59 PST 2009


Author: brad
Date: 2009-02-25 17:06:59 -0800 (Wed, 25 Feb 2009)
New Revision: 14153

Added:
   short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/line3.mesh
   short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/matstrain.spatialdb
   short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/matstress.spatialdb
Log:
Updated more ElasticMaterial libtests.

Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/line3.mesh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/line3.mesh	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/line3.mesh	2009-02-26 01:06:59 UTC (rev 14153)
@@ -0,0 +1,28 @@
+// Original mesh
+//
+// 0 ----- 1 ----- 2
+//
+//
+mesh = {
+  dimension = 1
+  use-index-zero = true
+  vertices = {
+    dimension = 1
+    count = 3
+    coordinates = {
+             0     -1.0
+             1      0.0
+             2      1.0
+    }
+  }
+  cells = {
+    count = 1
+    num-corners = 3
+    simplices = {
+             0    0  2  1
+    }
+    material-ids = {
+             0   24
+    }
+  }
+}

Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/matstrain.spatialdb
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/matstrain.spatialdb	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/matstrain.spatialdb	2009-02-26 01:06:59 UTC (rev 14153)
@@ -0,0 +1,15 @@
+#SPATIAL.ascii 1
+SimpleDB {
+  num-values = 1
+  value-names =  strain
+  value-units =  Pa
+  num-locs = 2
+  data-dim = 1
+  space-dim = 1
+  cs-data = cartesian {
+    to-meters = 1.0
+    space-dim = 1
+  }
+}
+-0.5  3.10e-04
++0.5  6.10e-04

Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/matstress.spatialdb
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/matstress.spatialdb	                        (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/materials/data/matstress.spatialdb	2009-02-26 01:06:59 UTC (rev 14153)
@@ -0,0 +1,15 @@
+#SPATIAL.ascii 1
+SimpleDB {
+  num-values = 1
+  value-names =  stress
+  value-units =  Pa
+  num-locs = 2
+  data-dim = 1
+  space-dim = 1
+  cs-data = cartesian {
+    to-meters = 1.0
+    space-dim = 1
+  }
+}
+-0.5  2.10e+04
++0.5  5.10e+04



More information about the CIG-COMMITS mailing list