[cig-commits] r7546 - short/3D/PyLith/trunk/libsrc/faults
knepley at geodynamics.org
knepley at geodynamics.org
Thu Jun 28 11:19:55 PDT 2007
Author: knepley
Date: 2007-06-28 11:19:54 -0700 (Thu, 28 Jun 2007)
New Revision: 7546
Modified:
short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc
Log:
Fix for cohesive cells in parallel
Modified: short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc 2007-06-28 18:05:28 UTC (rev 7545)
+++ short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc 2007-06-28 18:19:54 UTC (rev 7546)
@@ -153,7 +153,7 @@
Obj<PointSet> tmpLevel;
int levelNum = 0;
- nextLevel->insert(*fFaces->begin());
+ if (fFaces->size()) nextLevel->insert(*fFaces->begin());
while(nextLevel->size()) {
if (debug) std::cout << "Level " << levelNum << std::endl;
tmpLevel = level; level = nextLevel; nextLevel = tmpLevel;
More information about the cig-commits
mailing list