[cig-commits] r18801 - short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/meshio
brad at geodynamics.org
brad at geodynamics.org
Sat Jul 23 14:13:44 PDT 2011
Author: brad
Date: 2011-07-23 14:13:44 -0700 (Sat, 23 Jul 2011)
New Revision: 18801
Modified:
short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/meshio/DataWriterHDF5.cc
Log:
Added debugging info (commented out).
Modified: short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/meshio/DataWriterHDF5.cc
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/meshio/DataWriterHDF5.cc 2011-07-23 00:30:50 UTC (rev 18800)
+++ short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/meshio/DataWriterHDF5.cc 2011-07-23 21:13:44 UTC (rev 18801)
@@ -268,6 +268,15 @@
sieveMesh->getFactory()->getNumbering(sieveMesh, "censored depth", 0) :
sieveMesh->getFactory()->getNumbering(sieveMesh, 0);
assert(!vNumbering.isNull());
+
+#if 0
+ std::cout << "WRITE VERTEX FIELD" << std::endl;
+ mesh.view("MESH");
+ field.view("FIELD");;
+ vNumbering->view("NUMBERING");
+ std::cout << std::endl;
+#endif
+
field.createScatterWithBC(vNumbering, context);
field.scatterSectionToVector(context);
PetscVec vector = field.vector(context);
More information about the CIG-COMMITS
mailing list