[cig-commits] r9356 - short/3D/PyLith/trunk/libsrc/meshio

brad at geodynamics.org brad at geodynamics.org
Thu Feb 14 21:02:19 PST 2008


Author: brad
Date: 2008-02-14 21:02:18 -0800 (Thu, 14 Feb 2008)
New Revision: 9356

Modified:
   short/3D/PyLith/trunk/libsrc/meshio/DataWriterVTK.cc
Log:
Fixed bug where depth of cell field should be 1.

Modified: short/3D/PyLith/trunk/libsrc/meshio/DataWriterVTK.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/meshio/DataWriterVTK.cc	2008-02-15 01:13:33 UTC (rev 9355)
+++ short/3D/PyLith/trunk/libsrc/meshio/DataWriterVTK.cc	2008-02-15 05:02:18 UTC (rev 9356)
@@ -194,7 +194,7 @@
   try {
     // Correctly handle boundary and fault meshes
     //const int depth = mesh->depth();
-    const int depth = mesh->getDimension();
+    const int depth = 1;
     const std::string labelName = 
       (mesh->hasLabel("censored depth")) ? "censored depth" : "depth";
     const ALE::Obj<Mesh::numbering_type>& numbering = 



More information about the cig-commits mailing list