[cig-commits] r15134 - in short/3D/PyLith/trunk: libsrc/bc unittests/libtests/bc/data

brad at geodynamics.org brad at geodynamics.org
Sun Jun 7 07:45:21 PDT 2009


Author: brad
Date: 2009-06-07 07:45:20 -0700 (Sun, 07 Jun 2009)
New Revision: 15134

Added:
   short/3D/PyLith/trunk/unittests/libtests/bc/data/hex8b_traction.spatialdb
Removed:
   short/3D/PyLith/trunk/unittests/libtests/bc/data/hex8b_disp.spatialdb
Modified:
   short/3D/PyLith/trunk/libsrc/bc/TimeDependent.cc
   short/3D/PyLith/trunk/unittests/libtests/bc/data/Makefile.am
   short/3D/PyLith/trunk/unittests/libtests/bc/data/NeumannDataHex8.cc
Log:
Fixed build issues.

Modified: short/3D/PyLith/trunk/libsrc/bc/TimeDependent.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/bc/TimeDependent.cc	2009-06-07 04:04:26 UTC (rev 15133)
+++ short/3D/PyLith/trunk/libsrc/bc/TimeDependent.cc	2009-06-07 14:45:20 UTC (rev 15134)
@@ -17,6 +17,7 @@
 #include "spatialdata/spatialdb/SpatialDB.hh" // USES SpatialDB
 #include "spatialdata/spatialdb/TimeHistory.hh" // USES TimeHistory
 
+#include <cassert> // USES assert()
 #include <stdexcept> // USES std::runtime_error
 #include <sstream> // USES std::ostringstream
 

Modified: short/3D/PyLith/trunk/unittests/libtests/bc/data/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/data/Makefile.am	2009-06-07 04:04:26 UTC (rev 15133)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/data/Makefile.am	2009-06-07 14:45:20 UTC (rev 15134)
@@ -35,7 +35,7 @@
 	hex8.mesh \
 	hex8_disp.spatialdb \
 	hex8b.mesh \
-	hex8b_disp.spatialdb
+	hex8b_traction.spatialdb
 
 
 # 'export' the input files by performing a mock install

Modified: short/3D/PyLith/trunk/unittests/libtests/bc/data/NeumannDataHex8.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/data/NeumannDataHex8.cc	2009-06-07 04:04:26 UTC (rev 15133)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/data/NeumannDataHex8.cc	2009-06-07 14:45:20 UTC (rev 15134)
@@ -66,7 +66,7 @@
 };
 
 const char* pylith::bc::NeumannDataHex8::_spatialDBFilename =
-  "data/hex8b.spatialdb";
+  "data/hex8b_traction.spatialdb";
 const int pylith::bc::NeumannDataHex8::_id = 0;
 const char* pylith::bc::NeumannDataHex8::_label = "tractionVerts";
 

Deleted: short/3D/PyLith/trunk/unittests/libtests/bc/data/hex8b_disp.spatialdb
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/data/hex8b_disp.spatialdb	2009-06-07 04:04:26 UTC (rev 15133)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/data/hex8b_disp.spatialdb	2009-06-07 14:45:20 UTC (rev 15134)
@@ -1,14 +0,0 @@
-#SPATIAL.ascii 1
-SimpleDB {
-  num-values = 3
-  value-names =  horiz-shear-traction vert-shear-traction normal-traction
-  value-units =  Pa  Pa  Pa
-  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    4.0  0.0  0.0

Copied: short/3D/PyLith/trunk/unittests/libtests/bc/data/hex8b_traction.spatialdb (from rev 15131, short/3D/PyLith/trunk/unittests/libtests/bc/data/hex8b_disp.spatialdb)
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/data/hex8b_traction.spatialdb	                        (rev 0)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/data/hex8b_traction.spatialdb	2009-06-07 14:45:20 UTC (rev 15134)
@@ -0,0 +1,14 @@
+#SPATIAL.ascii 1
+SimpleDB {
+  num-values = 3
+  value-names =  horiz-shear-traction vert-shear-traction normal-traction
+  value-units =  Pa  Pa  Pa
+  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    4.0  0.0  0.0



More information about the CIG-COMMITS mailing list