[cig-commits] r14845 - in short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio: . data
brad at geodynamics.org
brad at geodynamics.org
Fri May 1 21:09:30 PDT 2009
Author: brad
Date: 2009-05-01 21:09:28 -0700 (Fri, 01 May 2009)
New Revision: 14845
Added:
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshLine2.cc
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshLine2.hh
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_cell_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_vertex_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_cell_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_vertex_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_cell_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_vertex_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_cell_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_vertex_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_cell_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_t10.vtk
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_vertex_t10.vtk
Modified:
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/Makefile.am
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTKSubMesh.cc
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshHex8.cc
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshHex8.hh
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshQuad4.cc
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshQuad4.hh
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTet4.cc
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTet4.hh
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTri3.cc
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTri3.hh
short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/Makefile.am
Log:
Worked on output soln subset unit tests.
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/Makefile.am
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/Makefile.am 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/Makefile.am 2009-05-02 04:09:28 UTC (rev 14845)
@@ -44,6 +44,11 @@
TestDataWriterVTKBCMeshTet4.cc \
TestDataWriterVTKBCMeshHex8.cc \
TestDataWriterVTKSubMesh.cc \
+ TestDataWriterVTKSubMeshLine2.cc \
+ TestDataWriterVTKSubMeshTri3.cc \
+ TestDataWriterVTKSubMeshQuad4.cc \
+ TestDataWriterVTKSubMeshTet4.cc \
+ TestDataWriterVTKSubMeshHex8.cc \
TestOutputManager.cc \
TestOutputSolnSubset.cc \
TestDataWriterVTKFaultMesh.cc \
@@ -53,13 +58,7 @@
TestDataWriterVTKFaultMeshHex8.cc \
test_meshio.cc
-# TestDataWriterVTKSubMeshLine2.cc \
-# TestDataWriterVTKSubMeshTri3.cc \
-# TestDataWriterVTKSubMeshQuad4.cc \
-# TestDataWriterVTKSubMeshTet4.cc \
-# TestDataWriterVTKSubMeshHex8.cc
-
noinst_HEADERS = \
TestCellFilterAvg.hh \
TestDataWriterVTK.hh \
@@ -110,6 +109,11 @@
data/DataWriterVTKDataMatMeshQuad4.cc \
data/DataWriterVTKDataMatMeshTet4.cc \
data/DataWriterVTKDataMatMeshHex8.cc \
+ data/DataWriterVTKDataSubMeshLine2.cc \
+ data/DataWriterVTKDataSubMeshTri3.cc \
+ data/DataWriterVTKDataSubMeshQuad4.cc \
+ data/DataWriterVTKDataSubMeshTet4.cc \
+ data/DataWriterVTKDataSubMeshHex8.cc \
data/DataWriterVTKDataFaultMeshTri3.cc \
data/DataWriterVTKDataFaultMeshQuad4.cc \
data/DataWriterVTKDataFaultMeshTet4.cc \
@@ -132,11 +136,6 @@
data/MeshDataCubitHex.cc \
data/MeshDataLagritTet.cc
-# data/DataWriterVTKDataSubMeshLine2.cc \
-# data/DataWriterVTKDataSubMeshTri3.cc \
-# data/DataWriterVTKDataSubMeshQuad4.cc \
-# data/DataWriterVTKDataSubMeshTet4.cc \
-# data/DataWriterVTKDataSubMeshHex8.cc
noinst_HEADERS += \
data/DataWriterVTKData.hh \
@@ -150,6 +149,11 @@
data/DataWriterVTKDataMatMeshQuad4.hh \
data/DataWriterVTKDataMatMeshTet4.hh \
data/DataWriterVTKDataMatMeshHex8.hh \
+ data/DataWriterVTKDataSubMeshLine2.hh \
+ data/DataWriterVTKDataSubMeshTri3.hh \
+ data/DataWriterVTKDataSubMeshQuad4.hh \
+ data/DataWriterVTKDataSubMeshTet4.hh \
+ data/DataWriterVTKDataSubMeshHex8.hh \
data/DataWriterVTKDataFaultMeshTri3.hh \
data/DataWriterVTKDataFaultMeshQuad4.hh \
data/DataWriterVTKDataFaultMeshTet4.hh \
@@ -173,12 +177,6 @@
data/MeshDataLagritTet.hh
-# data/DataWriterVTKDataSubMeshLine2.hh \
-# data/DataWriterVTKDataSubMeshTri3.hh \
-# data/DataWriterVTKDataSubMeshQuad4.hh \
-# data/DataWriterVTKDataSubMeshTet4.hh \
-# data/DataWriterVTKDataSubMeshHex8.hh
-
AM_CPPFLAGS = \
$(PETSC_SIEVE_FLAGS) $(PETSC_INCLUDE) \
-I$(PYTHON_INCDIR) $(PYTHON_EGG_CPPFLAGS)
@@ -236,6 +234,21 @@
hex8_mat_t10.vtk \
hex8_mat_vertex_t10.vtk \
hex8_mat_cell_t10.vtk \
+ line2_surf_t10.vtk \
+ line2_surf_vertex_t10.vtk \
+ line2_surf_cell_t10.vtk \
+ tri3_surf_t10.vtk \
+ tri3_surf_vertex_t10.vtk \
+ tri3_surf_cell_t10.vtk \
+ quad4_surf_t10.vtk \
+ quad4_surf_vertex_t10.vtk \
+ quad4_surf_cell_t10.vtk \
+ tet4_surf_t10.vtk \
+ tet4_surf_vertex_t10.vtk \
+ tet4_surf_cell_t10.vtk \
+ hex8_surf_t10.vtk \
+ hex8_surf_vertex_t10.vtk \
+ hex8_surf_cell_t10.vtk \
tri3_fault_t10.vtk \
tri3_fault_vertex_t10.vtk \
tri3_fault_cell_t10.vtk \
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTKSubMesh.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTKSubMesh.cc 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/TestDataWriterVTKSubMesh.cc 2009-05-02 04:09:28 UTC (rev 14845)
@@ -239,11 +239,11 @@
try {
const int nfields = _data->numVertexFields;
- const ALE::Obj<topology::SubMesh::SieveMesh>& sieveSubMesh =
- _submesh->sieveMesh();
- CPPUNIT_ASSERT(!sieveSubMesh.isNull());
+ const ALE::Obj<topology::SubMesh::SieveMesh>& sieveMesh =
+ _mesh->sieveMesh();
+ CPPUNIT_ASSERT(!sieveMesh.isNull());
const ALE::Obj<topology::SubMesh::SieveMesh::label_sequence>& vertices =
- sieveSubMesh->depthStratum(0);
+ sieveMesh->depthStratum(0);
CPPUNIT_ASSERT(!vertices.isNull());
const topology::SubMesh::SieveMesh::label_sequence::iterator verticesEnd =
vertices->end();
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshHex8.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshHex8.cc 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshHex8.cc 2009-05-02 04:09:28 UTC (rev 14845)
@@ -20,18 +20,17 @@
const char* pylith::meshio::DataWriterVTKDataSubMeshHex8::_bcLabel =
"top";
-const char* pylith::meshio::DataWriterVTKDataSubMeshHex8::_faultLabel =
- "fault";
-const int pylith::meshio::DataWriterVTKDataSubMeshHex8::_faultId = 100;
+const char* pylith::meshio::DataWriterVTKDataSubMeshHex8::_faultLabel = 0;
+const int pylith::meshio::DataWriterVTKDataSubMeshHex8::_faultId = 0;
const char* pylith::meshio::DataWriterVTKDataSubMeshHex8::_timestepFilename =
- "hex8_bc.vtk";
+ "hex8_surf.vtk";
const char* pylith::meshio::DataWriterVTKDataSubMeshHex8::_vertexFilename =
- "hex8_bc_vertex.vtk";
+ "hex8_surf_vertex.vtk";
const char* pylith::meshio::DataWriterVTKDataSubMeshHex8::_cellFilename =
- "hex8_bc_cell.vtk";
+ "hex8_surf_cell.vtk";
const double pylith::meshio::DataWriterVTKDataSubMeshHex8::_time = 1.0;
@@ -39,7 +38,7 @@
"%3.1f";
const int pylith::meshio::DataWriterVTKDataSubMeshHex8::_numVertexFields = 3;
-const int pylith::meshio::DataWriterVTKDataSubMeshHex8::_numVertices = 8;
+const int pylith::meshio::DataWriterVTKDataSubMeshHex8::_numVertices = 12;
const pylith::meshio::DataWriterVTKData::FieldStruct
pylith::meshio::DataWriterVTKDataSubMeshHex8::_vertexFields[] = {
@@ -56,9 +55,13 @@
4.5, 5.6, 6.7,
7.8, 8.9, 9.0,
10.2, 11.3, 12.4,
+ 1.3, 2.4, 3.5,
+ 4.6, 5.7, 6.8,
+ 7.9, 8.1, 9.2,
+ 10.3, 11.4, 12.5,
};
const double pylith::meshio::DataWriterVTKDataSubMeshHex8::_vertexField1[] = {
- 2.1, 3.2, 4.3, 5.4, 6.5, 7.6, 8.7, 9.8,
+ 2.1, 3.2, 4.3, 5.4, 6.5, 7.6, 8.7, 9.8, 10.9, 11.8, 12.7, 13.6
};
const double pylith::meshio::DataWriterVTKDataSubMeshHex8::_vertexField2[] = {
1.2, 2.3,
@@ -69,6 +72,10 @@
3.5, 4.6,
5.7, 6.8,
7.9, 8.0,
+ 8.1, 8.2,
+ 9.2, 9.3,
+ 10.4, 10.5,
+ 11.5, 11.6,
};
const int pylith::meshio::DataWriterVTKDataSubMeshHex8::_numCellFields = 3;
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshHex8.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshHex8.hh 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshHex8.hh 2009-05-02 04:09:28 UTC (rev 14845)
@@ -10,8 +10,8 @@
// ======================================================================
//
-#if !defined(pylith_meshio_datawritervtkdatabcmeshhex8_hh)
-#define pylith_meshio_datawritervtkdatabcmeshhex8_hh
+#if !defined(pylith_meshio_datawritervtkdatasubmeshhex8_hh)
+#define pylith_meshio_datawritervtkdatasubmeshhex8_hh
#include "DataWriterVTKData.hh" // ISA DataWriterVTKData
@@ -70,6 +70,6 @@
}; // DataWriterVTKDataSubMeshHex8
-#endif // pylith_meshio_datawritervtkdatabcmeshhex8_hh
+#endif // pylith_meshio_datawritervtkdatasubmeshhex8_hh
// End of file
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshLine2.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshLine2.cc (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshLine2.cc 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,122 @@
+// -*- C++ -*-
+//
+// ======================================================================
+//
+// Brad T. Aagaard
+// U.S. Geological Survey
+//
+// {LicenseText}
+//
+// ======================================================================
+//
+
+#include "DataWriterVTKDataSubMeshLine2.hh"
+
+#include <assert.h> // USES assert()
+
+const char* pylith::meshio::DataWriterVTKDataSubMeshLine2::_meshFilename =
+ "data/line2.mesh";
+
+const char* pylith::meshio::DataWriterVTKDataSubMeshLine2::_bcLabel =
+ "bc1";
+
+const char* pylith::meshio::DataWriterVTKDataSubMeshLine2::_faultLabel =
+ "fault";
+const int pylith::meshio::DataWriterVTKDataSubMeshLine2::_faultId = 100;
+
+const char* pylith::meshio::DataWriterVTKDataSubMeshLine2::_timestepFilename =
+ "line2_surf.vtk";
+
+const char* pylith::meshio::DataWriterVTKDataSubMeshLine2::_vertexFilename =
+ "line2_surf_vertex.vtk";
+
+const char* pylith::meshio::DataWriterVTKDataSubMeshLine2::_cellFilename =
+ "line2_surf_cell.vtk";
+
+const double pylith::meshio::DataWriterVTKDataSubMeshLine2::_time = 1.0;
+
+const char* pylith::meshio::DataWriterVTKDataSubMeshLine2::_timeFormat =
+ "%3.1f";
+
+const int pylith::meshio::DataWriterVTKDataSubMeshLine2::_numVertexFields = 3;
+const int pylith::meshio::DataWriterVTKDataSubMeshLine2::_numVertices = 5;
+
+const pylith::meshio::DataWriterVTKData::FieldStruct
+pylith::meshio::DataWriterVTKDataSubMeshLine2::_vertexFields[] = {
+ { "displacements", topology::FieldBase::VECTOR, 2 },
+ { "pressure", topology::FieldBase::SCALAR, 1 },
+ { "other", topology::FieldBase::OTHER, 2 },
+};
+const double pylith::meshio::DataWriterVTKDataSubMeshLine2::_vertexField0[] = {
+ 1.1, 2.2,
+ 3.3, 4.4,
+ 5.5, 6.6,
+ 7.7, 8.8,
+ 9.9, 10.0,
+};
+const double pylith::meshio::DataWriterVTKDataSubMeshLine2::_vertexField1[] = {
+ 2.1, 3.2, 4.3, 5.4, 6.5,
+};
+const double pylith::meshio::DataWriterVTKDataSubMeshLine2::_vertexField2[] = {
+ 1.2, 2.3,
+ 3.4, 4.5,
+ 5.6, 6.7,
+ 7.8, 8.9,
+ 9.0, 10.1,
+};
+
+const int pylith::meshio::DataWriterVTKDataSubMeshLine2::_numCellFields = 3;
+const int pylith::meshio::DataWriterVTKDataSubMeshLine2::_numCells = 1;
+
+const pylith::meshio::DataWriterVTKData::FieldStruct
+pylith::meshio::DataWriterVTKDataSubMeshLine2::_cellFields[] = {
+ { "traction", topology::FieldBase::VECTOR, 2 },
+ { "pressure", topology::FieldBase::SCALAR, 1 },
+ { "other", topology::FieldBase::TENSOR, 3 },
+};
+const double pylith::meshio::DataWriterVTKDataSubMeshLine2::_cellField0[] = {
+ 1.1, 2.2,
+};
+const double pylith::meshio::DataWriterVTKDataSubMeshLine2::_cellField1[] = {
+ 2.1,
+};
+const double pylith::meshio::DataWriterVTKDataSubMeshLine2::_cellField2[] = {
+ 1.2, 2.3, 3.4,
+};
+
+pylith::meshio::DataWriterVTKDataSubMeshLine2::DataWriterVTKDataSubMeshLine2(void)
+{ // constructor
+ meshFilename = const_cast<char*>(_meshFilename);
+ bcLabel = const_cast<char*>(_bcLabel);
+ faultLabel = const_cast<char*>(_faultLabel);
+ faultId = _faultId;
+
+ timestepFilename = const_cast<char*>(_timestepFilename);
+ vertexFilename = const_cast<char*>(_vertexFilename);
+ cellFilename = const_cast<char*>(_cellFilename);
+
+ time = _time;
+ timeFormat = const_cast<char*>(_timeFormat);
+
+ numVertexFields = _numVertexFields;
+ numVertices = _numVertices;
+ assert(3 == numVertexFields);
+ vertexFieldsInfo = const_cast<DataWriterVTKData::FieldStruct*>(_vertexFields);
+ vertexFields[0] = const_cast<double*>(_vertexField0);
+ vertexFields[1] = const_cast<double*>(_vertexField1);
+ vertexFields[2] = const_cast<double*>(_vertexField2);
+
+ numCellFields = _numCellFields;
+ numCells = _numCells;
+ assert(3 == numCellFields);
+ cellFieldsInfo = const_cast<DataWriterVTKData::FieldStruct*>(_cellFields);
+ cellFields[0] = const_cast<double*>(_cellField0);
+ cellFields[1] = const_cast<double*>(_cellField1);
+ cellFields[2] = const_cast<double*>(_cellField2);
+} // constructor
+
+pylith::meshio::DataWriterVTKDataSubMeshLine2::~DataWriterVTKDataSubMeshLine2(void)
+{}
+
+
+// End of file
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshLine2.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshLine2.hh (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshLine2.hh 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,75 @@
+// -*- C++ -*-
+//
+// ======================================================================
+//
+// Brad T. Aagaard
+// U.S. Geological Survey
+//
+// {LicenseText}
+//
+// ======================================================================
+//
+
+#if !defined(pylith_meshio_datawritervtkdatasubmeshline2_hh)
+#define pylith_meshio_datawritervtkdatasubmeshline2_hh
+
+#include "DataWriterVTKData.hh" // ISA DataWriterVTKData
+
+namespace pylith {
+ namespace meshio {
+ class DataWriterVTKDataSubMeshLine2;
+ } // meshio
+} // pylith
+
+class pylith::meshio::DataWriterVTKDataSubMeshLine2 : public DataWriterVTKData
+{ // DataWriterVTKDataSubMeshLine2
+
+public:
+
+ /// Constructor
+ DataWriterVTKDataSubMeshLine2(void);
+
+ /// Destructor
+ ~DataWriterVTKDataSubMeshLine2(void);
+
+private:
+
+ static const char* _meshFilename; ///< Name of mesh file.
+ static const char* _bcLabel; ///< Label defining boundary vertices.
+ static const char* _faultLabel; ///< Name of group of vertices for fault.
+ static const int _faultId; ///< Material identifier for fault.
+
+ static const char* _timestepFilename; ///< Name of VTK file without fields.
+ static const char* _vertexFilename; ///< Name of VTK file for vertex fields.
+ static const char* _cellFilename; ///< Name of VTK file for cell fields.
+
+ static const double _time; ///< Time for fields.
+ static const char* _timeFormat; ///< Format for time stamp.
+
+ /// @name Vertex field information.
+ //@{
+ static const int _numVertexFields; ///< Number of vertex fields.
+ static const int _numVertices; ///< Number of vertices.
+ static const FieldStruct _vertexFields[]; ///< Array of vertex fields.
+
+ static const double _vertexField0[]; ///< Values for vertex field 0.
+ static const double _vertexField1[]; ///< Values for vertex field 1.
+ static const double _vertexField2[]; ///< Values for vertex field 2.
+ //@}
+
+ /// @name Cell field information.
+ //@{
+ static const int _numCellFields; ///< Number of cell fields.
+ static const int _numCells; ///< Number of cells.
+ static const FieldStruct _cellFields[]; ///< Array of cell fields.
+
+ static const double _cellField0[]; ///< Values for cell field 0.
+ static const double _cellField1[]; ///< Values for cell field 1.
+ static const double _cellField2[]; ///< Values for cell field 2.
+ //@}
+
+}; // DataWriterVTKDataSubMeshLine2
+
+#endif // pylith_meshio_datawritervtkdatasubmeshline2_hh
+
+// End of file
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshQuad4.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshQuad4.cc 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshQuad4.cc 2009-05-02 04:09:28 UTC (rev 14845)
@@ -21,13 +21,13 @@
"bc3";
const char* pylith::meshio::DataWriterVTKDataSubMeshQuad4::_timestepFilename =
- "quad4_bc.vtk";
+ "quad4_surf.vtk";
const char* pylith::meshio::DataWriterVTKDataSubMeshQuad4::_vertexFilename =
- "quad4_bc_vertex.vtk";
+ "quad4_surf_vertex.vtk";
const char* pylith::meshio::DataWriterVTKDataSubMeshQuad4::_cellFilename =
- "quad4_bc_cell.vtk";
+ "quad4_surf_cell.vtk";
const double pylith::meshio::DataWriterVTKDataSubMeshQuad4::_time = 1.0;
@@ -35,7 +35,7 @@
"%3.1f";
const int pylith::meshio::DataWriterVTKDataSubMeshQuad4::_numVertexFields = 3;
-const int pylith::meshio::DataWriterVTKDataSubMeshQuad4::_numVertices = 3;
+const int pylith::meshio::DataWriterVTKDataSubMeshQuad4::_numVertices = 6;
const pylith::meshio::DataWriterVTKData::FieldStruct
pylith::meshio::DataWriterVTKDataSubMeshQuad4::_vertexFields[] = {
@@ -47,14 +47,20 @@
1.1, 2.2,
3.3, 4.4,
5.5, 6.6,
+ 7.7, 8.8,
+ 9.9, 10.0,
+ 11.1, 12.2,
};
const double pylith::meshio::DataWriterVTKDataSubMeshQuad4::_vertexField1[] = {
- 2.1, 3.2, 4.3,
+ 2.1, 3.2, 4.3, 5.4, 6.5, 7.6,
};
const double pylith::meshio::DataWriterVTKDataSubMeshQuad4::_vertexField2[] = {
1.2, 2.3,
3.4, 4.5,
5.6, 6.7,
+ 7.8, 8.9,
+ 9.1, 10.2,
+ 11.3, 12.4,
};
const int pylith::meshio::DataWriterVTKDataSubMeshQuad4::_numCellFields = 3;
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshQuad4.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshQuad4.hh 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshQuad4.hh 2009-05-02 04:09:28 UTC (rev 14845)
@@ -10,8 +10,8 @@
// ======================================================================
//
-#if !defined(pylith_meshio_datawritervtkdatabcmeshquad4_hh)
-#define pylith_meshio_datawritervtkdatabcmeshquad4_hh
+#if !defined(pylith_meshio_datawritervtkdatasubmeshquad4_hh)
+#define pylith_meshio_datawritervtkdatasubmeshquad4_hh
#include "DataWriterVTKData.hh" // ISA DataWriterVTKData
@@ -68,6 +68,6 @@
}; // DataWriterVTKDataSubMeshQuad4
-#endif // pylith_meshio_datawritervtkdatabcmeshquad4_hh
+#endif // pylith_meshio_datawritervtkdatasubmeshquad4_hh
// End of file
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTet4.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTet4.cc 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTet4.cc 2009-05-02 04:09:28 UTC (rev 14845)
@@ -20,18 +20,17 @@
const char* pylith::meshio::DataWriterVTKDataSubMeshTet4::_bcLabel =
"boundary";
-const char* pylith::meshio::DataWriterVTKDataSubMeshTet4::_faultLabel =
- "fault";
-const int pylith::meshio::DataWriterVTKDataSubMeshTet4::_faultId = 100;
+const char* pylith::meshio::DataWriterVTKDataSubMeshTet4::_faultLabel = 0;
+const int pylith::meshio::DataWriterVTKDataSubMeshTet4::_faultId = 0;
const char* pylith::meshio::DataWriterVTKDataSubMeshTet4::_timestepFilename =
- "tet4_bc.vtk";
+ "tet4_surf.vtk";
const char* pylith::meshio::DataWriterVTKDataSubMeshTet4::_vertexFilename =
- "tet4_bc_vertex.vtk";
+ "tet4_surf_vertex.vtk";
const char* pylith::meshio::DataWriterVTKDataSubMeshTet4::_cellFilename =
- "tet4_bc_cell.vtk";
+ "tet4_surf_cell.vtk";
const double pylith::meshio::DataWriterVTKDataSubMeshTet4::_time = 1.0;
@@ -39,7 +38,7 @@
"%3.1f";
const int pylith::meshio::DataWriterVTKDataSubMeshTet4::_numVertexFields = 3;
-const int pylith::meshio::DataWriterVTKDataSubMeshTet4::_numVertices = 6;
+const int pylith::meshio::DataWriterVTKDataSubMeshTet4::_numVertices = 5;
const pylith::meshio::DataWriterVTKData::FieldStruct
pylith::meshio::DataWriterVTKDataSubMeshTet4::_vertexFields[] = {
@@ -53,10 +52,9 @@
7.7, 8.8, 9.9,
10.0, 11.1, 12.2,
13.3, 14.4, 15.5,
- 16.6, 17.7, 18.8,
};
const double pylith::meshio::DataWriterVTKDataSubMeshTet4::_vertexField1[] = {
- 2.1, 3.2, 4.3, 5.4, 6.5, 7.6,
+ 2.1, 3.2, 4.3, 5.4, 6.5,
};
const double pylith::meshio::DataWriterVTKDataSubMeshTet4::_vertexField2[] = {
1.2, 2.3,
@@ -64,7 +62,6 @@
5.6, 6.7,
7.8, 8.9,
9.0, 10.1,
- 11.2, 12.3,
};
const int pylith::meshio::DataWriterVTKDataSubMeshTet4::_numCellFields = 3;
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTet4.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTet4.hh 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTet4.hh 2009-05-02 04:09:28 UTC (rev 14845)
@@ -10,8 +10,8 @@
// ======================================================================
//
-#if !defined(pylith_meshio_datawritervtkdatabcmeshtet4_hh)
-#define pylith_meshio_datawritervtkdatabcmeshtet4_hh
+#if !defined(pylith_meshio_datawritervtkdatasubmeshtet4_hh)
+#define pylith_meshio_datawritervtkdatasubmeshtet4_hh
#include "DataWriterVTKData.hh" // ISA DataWriterVTKData
@@ -70,6 +70,6 @@
}; // DataWriterVTKDataSubMeshTet4
-#endif // pylith_meshio_datawritervtkdatabcmeshtet4_hh
+#endif // pylith_meshio_datawritervtkdatasubmeshtet4_hh
// End of file
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTri3.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTri3.cc 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTri3.cc 2009-05-02 04:09:28 UTC (rev 14845)
@@ -25,13 +25,13 @@
const int pylith::meshio::DataWriterVTKDataSubMeshTri3::_faultId = 100;
const char* pylith::meshio::DataWriterVTKDataSubMeshTri3::_timestepFilename =
- "tri3_bc.vtk";
+ "tri3_surf.vtk";
const char* pylith::meshio::DataWriterVTKDataSubMeshTri3::_vertexFilename =
- "tri3_bc_vertex.vtk";
+ "tri3_surf_vertex.vtk";
const char* pylith::meshio::DataWriterVTKDataSubMeshTri3::_cellFilename =
- "tri3_bc_cell.vtk";
+ "tri3_surf_cell.vtk";
const double pylith::meshio::DataWriterVTKDataSubMeshTri3::_time = 1.0;
@@ -39,7 +39,7 @@
"%3.1f";
const int pylith::meshio::DataWriterVTKDataSubMeshTri3::_numVertexFields = 3;
-const int pylith::meshio::DataWriterVTKDataSubMeshTri3::_numVertices = 2;
+const int pylith::meshio::DataWriterVTKDataSubMeshTri3::_numVertices = 8;
const pylith::meshio::DataWriterVTKData::FieldStruct
pylith::meshio::DataWriterVTKDataSubMeshTri3::_vertexFields[] = {
@@ -50,13 +50,25 @@
const double pylith::meshio::DataWriterVTKDataSubMeshTri3::_vertexField0[] = {
1.1, 2.2,
3.3, 4.4,
+ 5.5, 6.6,
+ 7.7, 8.8,
+ 9.9, 10.0,
+ 11.1, 12.2,
+ 13.3, 14.4,
+ 15.5, 16.6,
};
const double pylith::meshio::DataWriterVTKDataSubMeshTri3::_vertexField1[] = {
- 2.1, 3.2,
+ 2.1, 3.2, 4.3, 5.4, 6.5, 7.6, 8.7, 9.8,
};
const double pylith::meshio::DataWriterVTKDataSubMeshTri3::_vertexField2[] = {
1.2, 2.3,
3.4, 4.5,
+ 5.6, 6.7,
+ 7.8, 8.9,
+ 9.0, 10.1,
+ 11.2, 12.3,
+ 13.4, 14.5,
+ 15.6, 16.7,
};
const int pylith::meshio::DataWriterVTKDataSubMeshTri3::_numCellFields = 3;
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTri3.hh
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTri3.hh 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/DataWriterVTKDataSubMeshTri3.hh 2009-05-02 04:09:28 UTC (rev 14845)
@@ -10,8 +10,8 @@
// ======================================================================
//
-#if !defined(pylith_meshio_datawritervtkdatabcmeshtri3_hh)
-#define pylith_meshio_datawritervtkdatabcmeshtri3_hh
+#if !defined(pylith_meshio_datawritervtkdatasubmeshtri3_hh)
+#define pylith_meshio_datawritervtkdatasubmeshtri3_hh
#include "DataWriterVTKData.hh" // ISA DataWriterVTKData
@@ -70,6 +70,6 @@
}; // DataWriterVTKDataSubMeshTri3
-#endif // pylith_meshio_datawritervtkdatabcmeshtri3_hh
+#endif // pylith_meshio_datawritervtkdatasubmeshtri3_hh
// End of file
Modified: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/Makefile.am
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/Makefile.am 2009-05-02 00:54:59 UTC (rev 14844)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/Makefile.am 2009-05-02 04:09:28 UTC (rev 14845)
@@ -60,6 +60,21 @@
hex8_mat_t10.vtk \
hex8_mat_vertex_t10.vtk \
hex8_mat_cell_t10.vtk \
+ line2_surf_t10.vtk \
+ line2_surf_vertex_t10.vtk \
+ line2_surf_cell_t10.vtk \
+ tri3_surf_t10.vtk \
+ tri3_surf_vertex_t10.vtk \
+ tri3_surf_cell_t10.vtk \
+ quad4_surf_t10.vtk \
+ quad4_surf_vertex_t10.vtk \
+ quad4_surf_cell_t10.vtk \
+ tet4_surf_t10.vtk \
+ tet4_surf_vertex_t10.vtk \
+ tet4_surf_cell_t10.vtk \
+ hex8_surf_t10.vtk \
+ hex8_surf_vertex_t10.vtk \
+ hex8_surf_cell_t10.vtk \
tri3_fault_t10.vtk \
tri3_fault_vertex_t10.vtk \
tri3_fault_cell_t10.vtk \
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_cell_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_cell_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_cell_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,31 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 8 double
+-1 -1 1
+-1 1 1
+0 -1 1
+0 1 1
+1 -1 1
+1 1 1
+0 -1 1
+0 1 1
+CELLS 2 10
+4 6 7 1 0
+4 4 5 3 2
+CELL_TYPES 2
+9
+9
+CELL_DATA 2
+VECTORS traction double
+1.1 2.2 3.3
+4.4 5.5 6.6
+SCALARS pressure double 1
+LOOKUP_TABLE default
+2.1
+3.2
+SCALARS other double 6
+LOOKUP_TABLE default
+1.2 2.3 3.4 4.5 5.6 6.7
+7.8 8.9 9 10.1 11.2 12.3
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,19 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 8 double
+-1 -1 1
+-1 1 1
+0 -1 1
+0 1 1
+1 -1 1
+1 1 1
+0 -1 1
+0 1 1
+CELLS 2 10
+4 6 7 1 0
+4 4 5 3 2
+CELL_TYPES 2
+9
+9
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_vertex_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/hex8_surf_vertex_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,41 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 6 double
+-1 -1 1
+-1 1 1
+0 -1 1
+0 1 1
+1 -1 1
+1 1 1
+CELLS 2 10
+4 2 3 1 0
+4 4 5 3 2
+CELL_TYPES 2
+9
+9
+POINT_DATA 6
+VECTORS displacements double
+7.8 8.9 9
+10.2 11.3 12.4
+1.3 2.4 3.5
+4.6 5.7 6.8
+7.9 8.1 9.2
+10.3 11.4 12.5
+SCALARS pressure double 1
+LOOKUP_TABLE default
+8.7
+9.8
+10.9
+11.8
+12.7
+13.6
+SCALARS other double 2
+LOOKUP_TABLE default
+5.7 6.8
+7.9 8
+8.1 8.2
+9.2 9.3
+10.4 10.5
+11.5 11.6
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_cell_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_cell_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_cell_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,18 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 1 double
+-1 0.0 0.0
+CELLS 1 2
+1 0
+CELL_TYPES 1
+-1
+CELL_DATA 1
+VECTORS traction double
+1.1 2.2 0.0
+SCALARS pressure double 1
+LOOKUP_TABLE default
+2.1
+VECTORS other double
+1.2 2.3 3.4
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,10 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 1 double
+-1 0.0 0.0
+CELLS 1 2
+1 0
+CELL_TYPES 1
+-1
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_vertex_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/line2_surf_vertex_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,19 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 1 double
+-1 0.0 0.0
+CELLS 1 2
+1 0
+CELL_TYPES 1
+-1
+POINT_DATA 1
+VECTORS displacements double
+1.1 2.2 0.0
+SCALARS pressure double 1
+LOOKUP_TABLE default
+2.1
+SCALARS other double 2
+LOOKUP_TABLE default
+1.2 2.3
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_cell_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_cell_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_cell_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,25 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 3 double
+-1 -1 0.0
+0 -1 0.0
+1 -1 0.0
+CELLS 2 6
+2 0 1
+2 1 2
+CELL_TYPES 2
+3
+3
+CELL_DATA 2
+VECTORS traction double
+1.1 2.2 0.0
+3.3 4.4 0.0
+SCALARS pressure double 1
+LOOKUP_TABLE default
+2.1
+3.2
+VECTORS other double
+1.2 2.3 3.4
+4.5 5.6 6.7
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,14 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 3 double
+-1 -1 0.0
+0 -1 0.0
+1 -1 0.0
+CELLS 2 6
+2 0 1
+2 1 2
+CELL_TYPES 2
+3
+3
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_vertex_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/quad4_surf_vertex_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,29 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 3 double
+-1 -1 0.0
+0 -1 0.0
+1 -1 0.0
+CELLS 2 6
+2 0 1
+2 1 2
+CELL_TYPES 2
+3
+3
+POINT_DATA 3
+VECTORS displacements double
+1.1 2.2 0.0
+5.5 6.6 0.0
+9.9 10 0.0
+SCALARS pressure double 1
+LOOKUP_TABLE default
+2.1
+4.3
+6.5
+SCALARS other double 2
+LOOKUP_TABLE default
+1.2 2.3
+5.6 6.7
+9.1 10.2
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_cell_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_cell_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_cell_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,27 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 4 double
+-1 0 0
+0 -1 0
+0 1 0
+1 0 0
+CELLS 2 8
+3 0 2 1
+3 1 2 3
+CELL_TYPES 2
+5
+5
+CELL_DATA 2
+VECTORS traction double
+1.1 2.2 3.3
+4.4 5.5 6.6
+SCALARS pressure double 1
+LOOKUP_TABLE default
+2.1
+3.2
+SCALARS other double 6
+LOOKUP_TABLE default
+1.2 2.3 3.4 4.5 5.6 6.7
+7.8 8.9 9 10.1 11.2 12.3
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,15 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 4 double
+-1 0 0
+0 -1 0
+0 1 0
+1 0 0
+CELLS 2 8
+3 0 2 1
+3 1 2 3
+CELL_TYPES 2
+5
+5
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_vertex_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tet4_surf_vertex_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,33 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 4 double
+-1 0 0
+0 -1 0
+0 1 0
+1 0 0
+CELLS 2 8
+3 0 2 1
+3 1 2 3
+CELL_TYPES 2
+5
+5
+POINT_DATA 4
+VECTORS displacements double
+1.1 2.2 3.3
+4.4 5.5 6.6
+10 11.1 12.2
+13.3 14.4 15.5
+SCALARS pressure double 1
+LOOKUP_TABLE default
+2.1
+3.2
+5.4
+6.5
+SCALARS other double 2
+LOOKUP_TABLE default
+1.2 2.3
+3.4 4.5
+7.8 8.9
+9 10.1
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_cell_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_cell_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_cell_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,19 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 2 double
+0 -1 0.0
+1 0 0.0
+CELLS 1 3
+2 0 1
+CELL_TYPES 1
+3
+CELL_DATA 1
+VECTORS traction double
+1.1 2.2 0.0
+SCALARS pressure double 1
+LOOKUP_TABLE default
+2.1
+VECTORS other double
+1.2 2.3 3.4
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,11 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 2 double
+0 -1 0.0
+1 0 0.0
+CELLS 1 3
+2 0 1
+CELL_TYPES 1
+3
Added: short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_vertex_t10.vtk (rev 0)
+++ short/3D/PyLith/branches/pylith-swig/unittests/libtests/meshio/data/tri3_surf_vertex_t10.vtk 2009-05-02 04:09:28 UTC (rev 14845)
@@ -0,0 +1,23 @@
+# vtk DataFile Version 2.0
+Simplicial Mesh Example
+ASCII
+DATASET UNSTRUCTURED_GRID
+POINTS 2 double
+0 -1 0.0
+1 0 0.0
+CELLS 1 3
+2 0 1
+CELL_TYPES 1
+3
+POINT_DATA 2
+VECTORS displacements double
+3.3 4.4 0.0
+7.7 8.8 0.0
+SCALARS pressure double 1
+LOOKUP_TABLE default
+3.2
+5.4
+SCALARS other double 2
+LOOKUP_TABLE default
+3.4 4.5
+7.8 8.9
More information about the CIG-COMMITS
mailing list