[cig-commits] r18615 - short/3D/PyLith/trunk/libsrc/pylith/topology

knepley at geodynamics.org knepley at geodynamics.org
Tue Jun 14 06:46:02 PDT 2011


Author: knepley
Date: 2011-06-14 06:46:01 -0700 (Tue, 14 Jun 2011)
New Revision: 18615

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/topology/RefineFace4Edges2.cc
Log:
Fix for fault edges


Modified: short/3D/PyLith/trunk/libsrc/pylith/topology/RefineFace4Edges2.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/topology/RefineFace4Edges2.cc	2011-06-14 03:39:07 UTC (rev 18614)
+++ short/3D/PyLith/trunk/libsrc/pylith/topology/RefineFace4Edges2.cc	2011-06-14 13:46:01 UTC (rev 18615)
@@ -338,8 +338,11 @@
           break;
         } // if
       } // for
-      newSendOverlap->addArrow(localPoint, rank, remotePoint);
-      newRecvOverlap->addArrow(rank, localPoint, remotePoint);
+      // TODO: Remove this when we fix refinement along fault boundaries
+      if (remotePoint >= 0) {
+        newSendOverlap->addArrow(localPoint, rank, remotePoint);
+        newRecvOverlap->addArrow(rank, localPoint, remotePoint);
+      }
     } // for
   } // for
 



More information about the CIG-COMMITS mailing list