[cig-commits] r22077 - in short/3D/PyLith/trunk/unittests/libtests/meshio: . data

brad at geodynamics.org brad at geodynamics.org
Wed May 15 10:25:33 PDT 2013


Author: brad
Date: 2013-05-15 10:25:33 -0700 (Wed, 15 May 2013)
New Revision: 22077

Modified:
   short/3D/PyLith/trunk/unittests/libtests/meshio/TestDataWriterVTKMesh.cc
   short/3D/PyLith/trunk/unittests/libtests/meshio/data/hex8_mat_vertex_t10.vtk
   short/3D/PyLith/trunk/unittests/libtests/meshio/data/hex8_vertex_t10.vtk
   short/3D/PyLith/trunk/unittests/libtests/meshio/data/line2_mat_vertex_t10.vtk
   short/3D/PyLith/trunk/unittests/libtests/meshio/data/line2_vertex_t10.vtk
   short/3D/PyLith/trunk/unittests/libtests/meshio/data/quad4_mat_vertex_t10.vtk
   short/3D/PyLith/trunk/unittests/libtests/meshio/data/quad4_vertex_t10.vtk
   short/3D/PyLith/trunk/unittests/libtests/meshio/data/tet4_mat_vertex_t10.vtk
   short/3D/PyLith/trunk/unittests/libtests/meshio/data/tet4_vertex_t10.vtk
   short/3D/PyLith/trunk/unittests/libtests/meshio/data/tri3_mat_vertex_t10.vtk
   short/3D/PyLith/trunk/unittests/libtests/meshio/data/tri3_vertex_t10.vtk
Log:
Added unit test for VTK files and reusing fields. Exposed previous bug.

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/TestDataWriterVTKMesh.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/TestDataWriterVTKMesh.cc	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/TestDataWriterVTKMesh.cc	2013-05-15 17:25:33 UTC (rev 22077)
@@ -214,6 +214,15 @@
   for (int i=0; i < nfields; ++i) {
     topology::Field& field = vertexFields.get(_data->vertexFieldsInfo[i].name);
     writer.writeVertexField(t, field, *_mesh);
+
+    // Make sure we can reuse field
+    std::string fieldLabel = std::string(field.label()) + std::string("2");
+    field.label(fieldLabel.c_str());
+    field.addDimensionOkay(true);
+    field.scale(2.0);
+    field.dimensionalize();
+    writer.writeVertexField(t, field, *_mesh);
+
     CPPUNIT_ASSERT(writer._wroteVertexHeader);
     CPPUNIT_ASSERT_EQUAL(false, writer._wroteCellHeader);
   } // for

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/data/hex8_mat_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/data/hex8_mat_vertex_t10.vtk	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/data/hex8_mat_vertex_t10.vtk	2013-05-15 17:25:33 UTC (rev 22077)
@@ -42,6 +42,24 @@
 1.510000e+01
 1.610000e+01
 1.710000e+01
+SCALARS pressure2 double 1
+LOOKUP_TABLE default
+4.200000e+00
+6.400000e+00
+8.600000e+00
+1.080000e+01
+1.300000e+01
+1.520000e+01
+1.740000e+01
+1.960000e+01
+2.000000e+01
+2.420000e+01
+2.220000e+01
+2.620000e+01
+2.820000e+01
+3.020000e+01
+3.220000e+01
+3.420000e+01
 VECTORS displacement double
 1.100000e+00 2.200000e+00 3.300000e+00
 4.400000e+00 5.500000e+00 6.600000e+00
@@ -59,6 +77,23 @@
 1.680000e+01 1.790000e+01 1.810000e+01
 1.920000e+01 2.030000e+01 2.140000e+01
 2.250000e+01 2.360000e+01 2.470000e+01
+VECTORS displacement2 double
+2.200000e+00 4.400000e+00 6.600000e+00
+8.800000e+00 1.100000e+01 1.320000e+01
+1.540000e+01 1.760000e+01 1.980000e+01
+2.020000e+01 2.240000e+01 2.460000e+01
+2.400000e+00 4.600000e+00 6.800000e+00
+9.000000e+00 1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01 1.800000e+01
+2.040000e+01 2.260000e+01 2.480000e+01
+2.600000e+00 4.800000e+00 7.000000e+00
+9.200000e+00 1.140000e+01 1.360000e+01
+1.580000e+01 1.600000e+01 1.820000e+01
+2.040000e+01 2.260000e+01 2.480000e+01
+2.700000e+01 2.920000e+01 3.140000e+01
+3.360000e+01 3.580000e+01 3.620000e+01
+3.840000e+01 4.060000e+01 4.280000e+01
+4.500000e+01 4.720000e+01 4.940000e+01
 SCALARS stress double 6
 LOOKUP_TABLE default
 1.100000e+00 1.200000e+00 1.300000e+00 1.400000e+00 1.500000e+00 1.600000e+00
@@ -77,6 +112,24 @@
 1.410000e+01 1.420000e+01 1.430000e+01 1.440000e+01 1.450000e+01 1.460000e+01
 1.510000e+01 1.520000e+01 1.530000e+01 1.540000e+01 1.550000e+01 1.560000e+01
 1.610000e+01 1.620000e+01 1.630000e+01 1.640000e+01 1.650000e+01 1.660000e+01
+SCALARS stress2 double 6
+LOOKUP_TABLE default
+2.200000e+00 2.400000e+00 2.600000e+00 2.800000e+00 3.000000e+00 3.200000e+00
+4.200000e+00 4.400000e+00 4.600000e+00 4.800000e+00 5.000000e+00 5.200000e+00
+6.200000e+00 6.400000e+00 6.600000e+00 6.800000e+00 7.000000e+00 7.200000e+00
+8.200000e+00 8.400000e+00 8.600000e+00 8.800000e+00 9.000000e+00 9.200000e+00
+1.020000e+01 1.040000e+01 1.060000e+01 1.080000e+01 1.100000e+01 1.120000e+01
+1.220000e+01 1.240000e+01 1.260000e+01 1.280000e+01 1.300000e+01 1.320000e+01
+1.420000e+01 1.440000e+01 1.460000e+01 1.480000e+01 1.500000e+01 1.520000e+01
+1.620000e+01 1.640000e+01 1.660000e+01 1.680000e+01 1.700000e+01 1.720000e+01
+1.820000e+01 1.840000e+01 1.860000e+01 1.880000e+01 1.900000e+01 1.920000e+01
+2.020000e+01 2.040000e+01 2.060000e+01 2.080000e+01 2.100000e+01 2.120000e+01
+2.220000e+01 2.240000e+01 2.260000e+01 2.280000e+01 2.300000e+01 2.320000e+01
+2.420000e+01 2.440000e+01 2.460000e+01 2.480000e+01 2.500000e+01 2.520000e+01
+2.620000e+01 2.640000e+01 2.660000e+01 2.680000e+01 2.700000e+01 2.720000e+01
+2.820000e+01 2.840000e+01 2.860000e+01 2.880000e+01 2.900000e+01 2.920000e+01
+3.020000e+01 3.040000e+01 3.060000e+01 3.080000e+01 3.100000e+01 3.120000e+01
+3.220000e+01 3.240000e+01 3.260000e+01 3.280000e+01 3.300000e+01 3.320000e+01
 SCALARS other double 2
 LOOKUP_TABLE default
 1.200000e+00 2.300000e+00
@@ -95,3 +148,21 @@
 4.800000e+00 1.500000e+00
 2.600000e+00 3.700000e+00
 4.800000e+00 5.900000e+00
+SCALARS other2 double 2
+LOOKUP_TABLE default
+2.400000e+00 4.600000e+00
+6.800000e+00 9.000000e+00
+1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01
+2.600000e+00 4.800000e+00
+7.000000e+00 9.200000e+00
+1.140000e+01 1.360000e+01
+1.580000e+01 1.600000e+01
+2.600000e+00 4.800000e+00
+7.000000e+00 9.200000e+00
+1.140000e+01 1.360000e+01
+1.600000e+01 2.800000e+00
+5.000000e+00 7.200000e+00
+9.600000e+00 3.000000e+00
+5.200000e+00 7.400000e+00
+9.600000e+00 1.180000e+01

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/data/hex8_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/data/hex8_vertex_t10.vtk	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/data/hex8_vertex_t10.vtk	2013-05-15 17:25:33 UTC (rev 22077)
@@ -44,6 +44,24 @@
 1.510000e+01
 1.610000e+01
 1.710000e+01
+SCALARS pressure2 double 1
+LOOKUP_TABLE default
+4.200000e+00
+6.400000e+00
+8.600000e+00
+1.080000e+01
+1.300000e+01
+1.520000e+01
+1.740000e+01
+1.960000e+01
+2.000000e+01
+2.420000e+01
+2.220000e+01
+2.620000e+01
+2.820000e+01
+3.020000e+01
+3.220000e+01
+3.420000e+01
 VECTORS displacement double
 1.100000e+00 2.200000e+00 3.300000e+00
 4.400000e+00 5.500000e+00 6.600000e+00
@@ -61,6 +79,23 @@
 1.680000e+01 1.790000e+01 1.810000e+01
 1.920000e+01 2.030000e+01 2.140000e+01
 2.250000e+01 2.360000e+01 2.470000e+01
+VECTORS displacement2 double
+2.200000e+00 4.400000e+00 6.600000e+00
+8.800000e+00 1.100000e+01 1.320000e+01
+1.540000e+01 1.760000e+01 1.980000e+01
+2.020000e+01 2.240000e+01 2.460000e+01
+2.400000e+00 4.600000e+00 6.800000e+00
+9.000000e+00 1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01 1.800000e+01
+2.040000e+01 2.260000e+01 2.480000e+01
+2.600000e+00 4.800000e+00 7.000000e+00
+9.200000e+00 1.140000e+01 1.360000e+01
+1.580000e+01 1.600000e+01 1.820000e+01
+2.040000e+01 2.260000e+01 2.480000e+01
+2.700000e+01 2.920000e+01 3.140000e+01
+3.360000e+01 3.580000e+01 3.620000e+01
+3.840000e+01 4.060000e+01 4.280000e+01
+4.500000e+01 4.720000e+01 4.940000e+01
 SCALARS stress double 6
 LOOKUP_TABLE default
 1.100000e+00 1.200000e+00 1.300000e+00 1.400000e+00 1.500000e+00 1.600000e+00
@@ -79,6 +114,24 @@
 1.410000e+01 1.420000e+01 1.430000e+01 1.440000e+01 1.450000e+01 1.460000e+01
 1.510000e+01 1.520000e+01 1.530000e+01 1.540000e+01 1.550000e+01 1.560000e+01
 1.610000e+01 1.620000e+01 1.630000e+01 1.640000e+01 1.650000e+01 1.660000e+01
+SCALARS stress2 double 6
+LOOKUP_TABLE default
+2.200000e+00 2.400000e+00 2.600000e+00 2.800000e+00 3.000000e+00 3.200000e+00
+4.200000e+00 4.400000e+00 4.600000e+00 4.800000e+00 5.000000e+00 5.200000e+00
+6.200000e+00 6.400000e+00 6.600000e+00 6.800000e+00 7.000000e+00 7.200000e+00
+8.200000e+00 8.400000e+00 8.600000e+00 8.800000e+00 9.000000e+00 9.200000e+00
+1.020000e+01 1.040000e+01 1.060000e+01 1.080000e+01 1.100000e+01 1.120000e+01
+1.220000e+01 1.240000e+01 1.260000e+01 1.280000e+01 1.300000e+01 1.320000e+01
+1.420000e+01 1.440000e+01 1.460000e+01 1.480000e+01 1.500000e+01 1.520000e+01
+1.620000e+01 1.640000e+01 1.660000e+01 1.680000e+01 1.700000e+01 1.720000e+01
+1.820000e+01 1.840000e+01 1.860000e+01 1.880000e+01 1.900000e+01 1.920000e+01
+2.020000e+01 2.040000e+01 2.060000e+01 2.080000e+01 2.100000e+01 2.120000e+01
+2.220000e+01 2.240000e+01 2.260000e+01 2.280000e+01 2.300000e+01 2.320000e+01
+2.420000e+01 2.440000e+01 2.460000e+01 2.480000e+01 2.500000e+01 2.520000e+01
+2.620000e+01 2.640000e+01 2.660000e+01 2.680000e+01 2.700000e+01 2.720000e+01
+2.820000e+01 2.840000e+01 2.860000e+01 2.880000e+01 2.900000e+01 2.920000e+01
+3.020000e+01 3.040000e+01 3.060000e+01 3.080000e+01 3.100000e+01 3.120000e+01
+3.220000e+01 3.240000e+01 3.260000e+01 3.280000e+01 3.300000e+01 3.320000e+01
 SCALARS other double 2
 LOOKUP_TABLE default
 1.200000e+00 2.300000e+00
@@ -97,3 +150,21 @@
 4.800000e+00 1.500000e+00
 2.600000e+00 3.700000e+00
 4.800000e+00 5.900000e+00
+SCALARS other2 double 2
+LOOKUP_TABLE default
+2.400000e+00 4.600000e+00
+6.800000e+00 9.000000e+00
+1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01
+2.600000e+00 4.800000e+00
+7.000000e+00 9.200000e+00
+1.140000e+01 1.360000e+01
+1.580000e+01 1.600000e+01
+2.600000e+00 4.800000e+00
+7.000000e+00 9.200000e+00
+1.140000e+01 1.360000e+01
+1.600000e+01 2.800000e+00
+5.000000e+00 7.200000e+00
+9.600000e+00 3.000000e+00
+5.200000e+00 7.400000e+00
+9.600000e+00 1.180000e+01

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/data/line2_mat_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/data/line2_mat_vertex_t10.vtk	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/data/line2_mat_vertex_t10.vtk	2013-05-15 17:25:33 UTC (rev 22077)
@@ -18,20 +18,43 @@
 2.200000e+00
 3.300000e+00
 4.400000e+00
+SCALARS pressure2 double 1
+LOOKUP_TABLE default
+2.200000e+00
+4.400000e+00
+6.600000e+00
+8.800000e+00
 VECTORS displacement double
 2.100000e+00 0.0 0.0
 3.200000e+00 0.0 0.0
 4.300000e+00 0.0 0.0
 5.400000e+00 0.0 0.0
+VECTORS displacement2 double
+4.200000e+00 0.0 0.0
+6.400000e+00 0.0 0.0
+8.600000e+00 0.0 0.0
+1.080000e+01 0.0 0.0
 SCALARS stress double 1
 LOOKUP_TABLE default
 3.100000e+00
 4.200000e+00
 5.300000e+00
 6.400000e+00
+SCALARS stress2 double 1
+LOOKUP_TABLE default
+6.200000e+00
+8.400000e+00
+1.060000e+01
+1.280000e+01
 SCALARS other double 2
 LOOKUP_TABLE default
 1.200000e+00 2.300000e+00
 3.400000e+00 4.500000e+00
 5.600000e+00 6.700000e+00
 7.800000e+00 8.900000e+00
+SCALARS other2 double 2
+LOOKUP_TABLE default
+2.400000e+00 4.600000e+00
+6.800000e+00 9.000000e+00
+1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/data/line2_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/data/line2_vertex_t10.vtk	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/data/line2_vertex_t10.vtk	2013-05-15 17:25:33 UTC (rev 22077)
@@ -20,20 +20,43 @@
 2.200000e+00
 3.300000e+00
 4.400000e+00
+SCALARS pressure2 double 1
+LOOKUP_TABLE default
+2.200000e+00
+4.400000e+00
+6.600000e+00
+8.800000e+00
 VECTORS displacement double
 2.100000e+00 0.0 0.0
 3.200000e+00 0.0 0.0
 4.300000e+00 0.0 0.0
 5.400000e+00 0.0 0.0
+VECTORS displacement2 double
+4.200000e+00 0.0 0.0
+6.400000e+00 0.0 0.0
+8.600000e+00 0.0 0.0
+1.080000e+01 0.0 0.0
 SCALARS stress double 1
 LOOKUP_TABLE default
 1.200000e+00
 1.300000e+00
 1.400000e+00
 1.500000e+00
+SCALARS stress2 double 1
+LOOKUP_TABLE default
+2.400000e+00
+2.600000e+00
+2.800000e+00
+3.000000e+00
 SCALARS other double 2
 LOOKUP_TABLE default
 1.200000e+00 2.300000e+00
 3.400000e+00 4.500000e+00
 5.600000e+00 6.700000e+00
 7.800000e+00 8.900000e+00
+SCALARS other2 double 2
+LOOKUP_TABLE default
+2.400000e+00 4.600000e+00
+6.800000e+00 9.000000e+00
+1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/data/quad4_mat_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/data/quad4_mat_vertex_t10.vtk	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/data/quad4_mat_vertex_t10.vtk	2013-05-15 17:25:33 UTC (rev 22077)
@@ -22,6 +22,14 @@
 5.400000e+00
 6.500000e+00
 7.600000e+00
+SCALARS pressure2 double 1
+LOOKUP_TABLE default
+4.200000e+00
+6.400000e+00
+8.600000e+00
+1.080000e+01
+1.300000e+01
+1.520000e+01
 VECTORS displacement double
 1.100000e+00 2.200000e+00 0.0
 3.300000e+00 4.400000e+00 0.0
@@ -29,6 +37,13 @@
 7.700000e+00 8.800000e+00 0.0
 9.900000e+00 1.010000e+01 0.0
 1.120000e+01 1.230000e+01 0.0
+VECTORS displacement2 double
+2.200000e+00 4.400000e+00 0.0
+6.600000e+00 8.800000e+00 0.0
+1.100000e+01 1.320000e+01 0.0
+1.540000e+01 1.760000e+01 0.0
+1.980000e+01 2.020000e+01 0.0
+2.240000e+01 2.460000e+01 0.0
 VECTORS stress double
 1.100000e+00 1.200000e+00 1.300000e+00
 2.100000e+00 2.200000e+00 2.300000e+00
@@ -36,6 +51,13 @@
 4.100000e+00 4.200000e+00 4.300000e+00
 5.100000e+00 5.200000e+00 5.300000e+00
 6.100000e+00 6.200000e+00 6.300000e+00
+VECTORS stress2 double
+2.200000e+00 2.400000e+00 2.600000e+00
+4.200000e+00 4.400000e+00 4.600000e+00
+6.200000e+00 6.400000e+00 6.600000e+00
+8.200000e+00 8.400000e+00 8.600000e+00
+1.020000e+01 1.040000e+01 1.060000e+01
+1.220000e+01 1.240000e+01 1.260000e+01
 SCALARS other double 2
 LOOKUP_TABLE default
 1.200000e+00 2.300000e+00
@@ -44,3 +66,11 @@
 7.800000e+00 8.900000e+00
 9.800000e+00 7.600000e+00
 6.500000e+00 5.400000e+00
+SCALARS other2 double 2
+LOOKUP_TABLE default
+2.400000e+00 4.600000e+00
+6.800000e+00 9.000000e+00
+1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01
+1.960000e+01 1.520000e+01
+1.300000e+01 1.080000e+01

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/data/quad4_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/data/quad4_vertex_t10.vtk	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/data/quad4_vertex_t10.vtk	2013-05-15 17:25:33 UTC (rev 22077)
@@ -24,6 +24,14 @@
 5.400000e+00
 6.500000e+00
 7.600000e+00
+SCALARS pressure2 double 1
+LOOKUP_TABLE default
+4.200000e+00
+6.400000e+00
+8.600000e+00
+1.080000e+01
+1.300000e+01
+1.520000e+01
 VECTORS displacement double
 1.100000e+00 2.200000e+00 0.0
 3.300000e+00 4.400000e+00 0.0
@@ -31,6 +39,13 @@
 7.700000e+00 8.800000e+00 0.0
 9.900000e+00 1.010000e+01 0.0
 1.120000e+01 1.230000e+01 0.0
+VECTORS displacement2 double
+2.200000e+00 4.400000e+00 0.0
+6.600000e+00 8.800000e+00 0.0
+1.100000e+01 1.320000e+01 0.0
+1.540000e+01 1.760000e+01 0.0
+1.980000e+01 2.020000e+01 0.0
+2.240000e+01 2.460000e+01 0.0
 VECTORS stress double
 1.100000e+00 1.200000e+00 1.300000e+00
 2.100000e+00 2.200000e+00 3.300000e+00
@@ -38,6 +53,13 @@
 4.100000e+00 4.200000e+00 5.300000e+00
 5.100000e+00 5.200000e+00 6.300000e+00
 6.100000e+00 6.200000e+00 7.300000e+00
+VECTORS stress2 double
+2.200000e+00 2.400000e+00 2.600000e+00
+4.200000e+00 4.400000e+00 6.600000e+00
+6.200000e+00 6.400000e+00 8.600000e+00
+8.200000e+00 8.400000e+00 1.060000e+01
+1.020000e+01 1.040000e+01 1.260000e+01
+1.220000e+01 1.240000e+01 1.460000e+01
 SCALARS other double 2
 LOOKUP_TABLE default
 1.200000e+00 2.300000e+00
@@ -46,3 +68,11 @@
 7.800000e+00 8.900000e+00
 9.800000e+00 7.600000e+00
 6.500000e+00 5.400000e+00
+SCALARS other2 double 2
+LOOKUP_TABLE default
+2.400000e+00 4.600000e+00
+6.800000e+00 9.000000e+00
+1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01
+1.960000e+01 1.520000e+01
+1.300000e+01 1.080000e+01

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/data/tet4_mat_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/data/tet4_mat_vertex_t10.vtk	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/data/tet4_mat_vertex_t10.vtk	2013-05-15 17:25:33 UTC (rev 22077)
@@ -28,6 +28,16 @@
 7.600000e+00
 8.700000e+00
 9.800000e+00
+SCALARS pressure2 double 1
+LOOKUP_TABLE default
+4.200000e+00
+6.400000e+00
+8.600000e+00
+1.080000e+01
+1.300000e+01
+1.520000e+01
+1.740000e+01
+1.960000e+01
 VECTORS displacement double
 1.100000e+00 2.200000e+00 3.300000e+00
 4.400000e+00 5.500000e+00 6.600000e+00
@@ -37,6 +47,15 @@
 1.660000e+01 1.770000e+01 1.880000e+01
 1.990000e+01 2.000000e+01 2.110000e+01
 2.220000e+01 2.330000e+01 2.440000e+01
+VECTORS displacement2 double
+2.200000e+00 4.400000e+00 6.600000e+00
+8.800000e+00 1.100000e+01 1.320000e+01
+1.540000e+01 1.760000e+01 1.980000e+01
+2.000000e+01 2.220000e+01 2.440000e+01
+2.660000e+01 2.880000e+01 3.100000e+01
+3.320000e+01 3.540000e+01 3.760000e+01
+3.980000e+01 4.000000e+01 4.220000e+01
+4.440000e+01 4.660000e+01 4.880000e+01
 SCALARS stress double 6
 LOOKUP_TABLE default
 1.100000e+00 1.200000e+00 1.300000e+00 1.400000e+00 1.500000e+00 1.600000e+00
@@ -47,6 +66,16 @@
 6.100000e+00 6.200000e+00 6.300000e+00 6.400000e+00 6.500000e+00 6.600000e+00
 7.100000e+00 7.200000e+00 7.300000e+00 7.400000e+00 7.500000e+00 7.600000e+00
 8.100000e+00 8.200000e+00 8.300000e+00 8.400000e+00 8.500000e+00 8.600000e+00
+SCALARS stress2 double 6
+LOOKUP_TABLE default
+2.200000e+00 2.400000e+00 2.600000e+00 2.800000e+00 3.000000e+00 3.200000e+00
+4.200000e+00 4.400000e+00 4.600000e+00 4.800000e+00 5.000000e+00 5.200000e+00
+6.200000e+00 6.400000e+00 6.600000e+00 6.800000e+00 7.000000e+00 7.200000e+00
+8.200000e+00 8.400000e+00 8.600000e+00 8.800000e+00 9.000000e+00 9.200000e+00
+1.020000e+01 1.040000e+01 1.060000e+01 1.080000e+01 1.100000e+01 1.120000e+01
+1.220000e+01 1.240000e+01 1.260000e+01 1.280000e+01 1.300000e+01 1.320000e+01
+1.420000e+01 1.440000e+01 1.460000e+01 1.480000e+01 1.500000e+01 1.520000e+01
+1.620000e+01 1.640000e+01 1.660000e+01 1.680000e+01 1.700000e+01 1.720000e+01
 SCALARS other double 2
 LOOKUP_TABLE default
 1.200000e+00 2.300000e+00
@@ -57,3 +86,13 @@
 1.120000e+01 1.230000e+01
 1.340000e+01 1.450000e+01
 1.560000e+01 1.670000e+01
+SCALARS other2 double 2
+LOOKUP_TABLE default
+2.400000e+00 4.600000e+00
+6.800000e+00 9.000000e+00
+1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01
+1.800000e+01 2.020000e+01
+2.240000e+01 2.460000e+01
+2.680000e+01 2.900000e+01
+3.120000e+01 3.340000e+01

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/data/tet4_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/data/tet4_vertex_t10.vtk	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/data/tet4_vertex_t10.vtk	2013-05-15 17:25:33 UTC (rev 22077)
@@ -28,6 +28,16 @@
 7.600000e+00
 8.700000e+00
 9.800000e+00
+SCALARS pressure2 double 1
+LOOKUP_TABLE default
+4.200000e+00
+6.400000e+00
+8.600000e+00
+1.080000e+01
+1.300000e+01
+1.520000e+01
+1.740000e+01
+1.960000e+01
 VECTORS displacement double
 1.100000e+00 2.200000e+00 3.300000e+00
 4.400000e+00 5.500000e+00 6.600000e+00
@@ -37,6 +47,15 @@
 1.660000e+01 1.770000e+01 1.880000e+01
 1.990000e+01 2.000000e+01 2.110000e+01
 2.220000e+01 2.330000e+01 2.440000e+01
+VECTORS displacement2 double
+2.200000e+00 4.400000e+00 6.600000e+00
+8.800000e+00 1.100000e+01 1.320000e+01
+1.540000e+01 1.760000e+01 1.980000e+01
+2.000000e+01 2.220000e+01 2.440000e+01
+2.660000e+01 2.880000e+01 3.100000e+01
+3.320000e+01 3.540000e+01 3.760000e+01
+3.980000e+01 4.000000e+01 4.220000e+01
+4.440000e+01 4.660000e+01 4.880000e+01
 SCALARS stress double 6
 LOOKUP_TABLE default
 1.100000e+00 1.200000e+00 1.300000e+00 1.400000e+00 1.500000e+00 1.600000e+00
@@ -47,6 +66,16 @@
 6.100000e+00 6.200000e+00 6.300000e+00 6.400000e+00 6.500000e+00 6.600000e+00
 7.100000e+00 7.200000e+00 7.300000e+00 7.400000e+00 7.500000e+00 7.600000e+00
 8.100000e+00 8.200000e+00 8.300000e+00 8.400000e+00 8.500000e+00 8.600000e+00
+SCALARS stress2 double 6
+LOOKUP_TABLE default
+2.200000e+00 2.400000e+00 2.600000e+00 2.800000e+00 3.000000e+00 3.200000e+00
+4.200000e+00 4.400000e+00 4.600000e+00 4.800000e+00 5.000000e+00 5.200000e+00
+6.200000e+00 6.400000e+00 6.600000e+00 6.800000e+00 7.000000e+00 7.200000e+00
+8.200000e+00 8.400000e+00 8.600000e+00 8.800000e+00 9.000000e+00 9.200000e+00
+1.020000e+01 1.040000e+01 1.060000e+01 1.080000e+01 1.100000e+01 1.120000e+01
+1.220000e+01 1.240000e+01 1.260000e+01 1.280000e+01 1.300000e+01 1.320000e+01
+1.420000e+01 1.440000e+01 1.460000e+01 1.480000e+01 1.500000e+01 1.520000e+01
+1.620000e+01 1.640000e+01 1.660000e+01 1.680000e+01 1.700000e+01 1.720000e+01
 SCALARS other double 2
 LOOKUP_TABLE default
 1.200000e+00 2.300000e+00
@@ -57,3 +86,13 @@
 1.120000e+01 1.230000e+01
 1.340000e+01 1.450000e+01
 1.560000e+01 1.670000e+01
+SCALARS other2 double 2
+LOOKUP_TABLE default
+2.400000e+00 4.600000e+00
+6.800000e+00 9.000000e+00
+1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01
+1.800000e+01 2.020000e+01
+2.240000e+01 2.460000e+01
+2.680000e+01 2.900000e+01
+3.120000e+01 3.340000e+01

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/data/tri3_mat_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/data/tri3_mat_vertex_t10.vtk	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/data/tri3_mat_vertex_t10.vtk	2013-05-15 17:25:33 UTC (rev 22077)
@@ -22,6 +22,14 @@
 5.400000e+00
 6.500000e+00
 7.600000e+00
+SCALARS pressure2 double 1
+LOOKUP_TABLE default
+4.200000e+00
+6.400000e+00
+8.600000e+00
+1.080000e+01
+1.300000e+01
+1.520000e+01
 VECTORS displacement double
 1.100000e+00 2.200000e+00 0.0
 3.300000e+00 4.400000e+00 0.0
@@ -29,6 +37,13 @@
 7.700000e+00 8.800000e+00 0.0
 9.900000e+00 1.000000e+01 0.0
 1.110000e+01 1.220000e+01 0.0
+VECTORS displacement2 double
+2.200000e+00 4.400000e+00 0.0
+6.600000e+00 8.800000e+00 0.0
+1.100000e+01 1.320000e+01 0.0
+1.540000e+01 1.760000e+01 0.0
+1.980000e+01 2.000000e+01 0.0
+2.220000e+01 2.440000e+01 0.0
 VECTORS stress double
 1.100000e+00 1.200000e+00 1.300000e+00
 2.100000e+00 2.200000e+00 3.300000e+00
@@ -36,6 +51,13 @@
 4.100000e+00 4.200000e+00 5.300000e+00
 5.100000e+00 5.200000e+00 6.300000e+00
 6.100000e+00 6.200000e+00 7.300000e+00
+VECTORS stress2 double
+2.200000e+00 2.400000e+00 2.600000e+00
+4.200000e+00 4.400000e+00 6.600000e+00
+6.200000e+00 6.400000e+00 8.600000e+00
+8.200000e+00 8.400000e+00 1.060000e+01
+1.020000e+01 1.040000e+01 1.260000e+01
+1.220000e+01 1.240000e+01 1.460000e+01
 SCALARS other double 2
 LOOKUP_TABLE default
 1.200000e+00 2.300000e+00
@@ -44,3 +66,11 @@
 7.800000e+00 8.900000e+00
 9.000000e+00 1.010000e+01
 1.120000e+01 1.230000e+01
+SCALARS other2 double 2
+LOOKUP_TABLE default
+2.400000e+00 4.600000e+00
+6.800000e+00 9.000000e+00
+1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01
+1.800000e+01 2.020000e+01
+2.240000e+01 2.460000e+01

Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/data/tri3_vertex_t10.vtk
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/data/tri3_vertex_t10.vtk	2013-05-15 17:18:52 UTC (rev 22076)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/data/tri3_vertex_t10.vtk	2013-05-15 17:25:33 UTC (rev 22077)
@@ -24,6 +24,14 @@
 5.400000e+00
 6.500000e+00
 7.600000e+00
+SCALARS pressure2 double 1
+LOOKUP_TABLE default
+4.200000e+00
+6.400000e+00
+8.600000e+00
+1.080000e+01
+1.300000e+01
+1.520000e+01
 VECTORS displacement double
 1.100000e+00 2.200000e+00 0.0
 3.300000e+00 4.400000e+00 0.0
@@ -31,6 +39,13 @@
 7.700000e+00 8.800000e+00 0.0
 9.900000e+00 1.000000e+01 0.0
 1.110000e+01 1.220000e+01 0.0
+VECTORS displacement2 double
+2.200000e+00 4.400000e+00 0.0
+6.600000e+00 8.800000e+00 0.0
+1.100000e+01 1.320000e+01 0.0
+1.540000e+01 1.760000e+01 0.0
+1.980000e+01 2.000000e+01 0.0
+2.220000e+01 2.440000e+01 0.0
 VECTORS stress double
 1.100000e+00 1.200000e+00 1.300000e+00
 2.100000e+00 2.200000e+00 2.300000e+00
@@ -38,6 +53,13 @@
 4.100000e+00 4.200000e+00 4.300000e+00
 5.100000e+00 5.200000e+00 5.300000e+00
 6.100000e+00 6.200000e+00 6.300000e+00
+VECTORS stress2 double
+2.200000e+00 2.400000e+00 2.600000e+00
+4.200000e+00 4.400000e+00 4.600000e+00
+6.200000e+00 6.400000e+00 6.600000e+00
+8.200000e+00 8.400000e+00 8.600000e+00
+1.020000e+01 1.040000e+01 1.060000e+01
+1.220000e+01 1.240000e+01 1.260000e+01
 SCALARS other double 2
 LOOKUP_TABLE default
 1.200000e+00 2.300000e+00
@@ -46,3 +68,11 @@
 7.800000e+00 8.900000e+00
 9.000000e+00 1.010000e+01
 1.120000e+01 1.230000e+01
+SCALARS other2 double 2
+LOOKUP_TABLE default
+2.400000e+00 4.600000e+00
+6.800000e+00 9.000000e+00
+1.120000e+01 1.340000e+01
+1.560000e+01 1.780000e+01
+1.800000e+01 2.020000e+01
+2.240000e+01 2.460000e+01



More information about the CIG-COMMITS mailing list