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

brad at geodynamics.org brad at geodynamics.org
Tue Nov 22 09:58:38 PST 2011


Author: brad
Date: 2011-11-22 09:58:37 -0800 (Tue, 22 Nov 2011)
New Revision: 19236

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc
Log:
Small cleanup (use variable rather than hardwiring mesh dim.

Modified: short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc	2011-11-22 17:57:11 UTC (rev 19235)
+++ short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc	2011-11-22 17:58:37 UTC (rev 19236)
@@ -94,7 +94,7 @@
   // Create mesh without cells for points.
   const int meshDim = 0;
   delete _pointsMesh; _pointsMesh = new topology::Mesh(meshDim);
-  _pointsMesh->createSieveMesh(0);
+  _pointsMesh->createSieveMesh(meshDim);
   assert(_pointsMesh);
 
   scalar_array pointsArray(points, numPoints*spaceDim);



More information about the CIG-COMMITS mailing list