[cig-commits] r7866 - short/3D/PyLith/trunk/libsrc/faults

willic3 at geodynamics.org willic3 at geodynamics.org
Wed Aug 22 12:56:18 PDT 2007


Author: willic3
Date: 2007-08-22 12:56:18 -0700 (Wed, 22 Aug 2007)
New Revision: 7866

Modified:
   short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc
Log:
Added debugging code to output number of faces seen and number of fault faces.


Modified: short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc	2007-08-22 05:33:13 UTC (rev 7865)
+++ short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc	2007-08-22 19:56:18 UTC (rev 7866)
@@ -196,6 +196,8 @@
     level->clear();
     levelNum++;
   }
+  if (debug) std::cout << "Number of faces seen: " << facesSeen.size() << std::endl <<
+    "Number of fault faces: " << fFaces->size() << std::endl;
   assert(facesSeen.size() == fFaces->size());
   for(PointSet::const_iterator f_iter = flippedFaces.begin(); f_iter != flippedFaces.end(); ++f_iter) {
     if (debug) std::cout << "  Reversing fault face " << *f_iter << std::endl;



More information about the cig-commits mailing list