[cig-commits] r14623 - in short/3D/PyLith/branches/pylith-swig: . unittests/libtests/meshio
brad at geodynamics.org
brad at geodynamics.org
Tue Apr 7 21:30:34 PDT 2009
Author: brad
Date: 2009-04-07 21:30:34 -0700 (Tue, 07 Apr 2009)
New Revision: 14623
Modified:
short/3D/PyLith/branches/pylith-swig/TODO
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/Makefile.am
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTK.cc
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTKMesh.cc
Log:
More work on output tests.
Modified: short/3D/PyLith/branches/pylith-swig/TODO
===================================================================
--- short/3D/PyLith/branches/pylith-swig/TODO 2009-04-08 00:35:04 UTC (rev 14622)
+++ short/3D/PyLith/branches/pylith-swig/TODO 2009-04-08 04:30:34 UTC (rev 14623)
@@ -50,6 +50,8 @@
Add check before calling newSection() when want to enforce at
least 1 value.
+ Distribution debug (dump VTK) needs Nondimensional
+
libsrc/materials
Maxwell materials
@@ -137,6 +139,8 @@
Cuthill-McKee ordering of vertices
+Cleanup SlipTimeFn tests (refactor test/initialize stuff)
+
======================================================================
KNOWN DEFICIENCIES
======================================================================
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/Makefile.am
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/Makefile.am 2009-04-08 00:35:04 UTC (rev 14622)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/Makefile.am 2009-04-08 04:30:34 UTC (rev 14623)
@@ -27,11 +27,11 @@
TestCellFilterAvg.cc \
TestVertexFilterVecNorm.cc \
TestDataWriterVTK.cc \
+ TestDataWriterVTKMesh.cc \
+ TestDataWriterVTKMeshLine2.cc \
test_meshio.cc
-# TestDataWriterVTKMesh.cc \
-# TestDataWriterVTKMeshLine2.cc \
# TestDataWriterVTKMeshTri3.cc \
# TestDataWriterVTKMeshQuad4.cc \
# TestDataWriterVTKMeshTet4.cc \
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTK.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTK.cc 2009-04-08 00:35:04 UTC (rev 14622)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTK.cc 2009-04-08 04:30:34 UTC (rev 14623)
@@ -41,7 +41,7 @@
void
pylith::meshio::TestDataWriterVTK::tearDown(void)
{ // tearDown
- _mesh = 0;
+ delete _mesh; _mesh = 0;
delete _data; _data = 0;
} // tearDown
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTKMesh.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTKMesh.cc 2009-04-08 00:35:04 UTC (rev 14622)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTKMesh.cc 2009-04-08 04:30:34 UTC (rev 14623)
@@ -26,10 +26,10 @@
{ // _initialize
CPPUNIT_ASSERT(0 != _data);
+ _mesh = new topology::Mesh;
MeshIOAscii iohandler;
iohandler.filename(_data->meshFilename);
- iohandler.read(&_mesh);
- CPPUNIT_ASSERT(!_mesh.isNull());
+ iohandler.read(_mesh);
if (0 != _data->faultLabel) {
faults::FaultCohesiveKin fault;
More information about the CIG-COMMITS
mailing list