[cig-commits] r11829 - short/3D/PyLith/trunk/libsrc/faults
willic3 at geodynamics.org
willic3 at geodynamics.org
Fri Apr 18 12:26:37 PDT 2008
Author: willic3
Date: 2008-04-18 12:26:37 -0700 (Fri, 18 Apr 2008)
New Revision: 11829
Modified:
short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc
Log:
Temporary fix to allow code to compile using PyLith 1.1 conventions.
Modified: short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc 2008-04-18 19:02:56 UTC (rev 11828)
+++ short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc 2008-04-18 19:26:37 UTC (rev 11829)
@@ -50,7 +50,11 @@
if (!(*fault)->commRank()) {
numCorners = sieve->nCone(*mesh->heightStratum(0)->begin(), depth)->size();
+#if 1
+ faceSize = selection::numFaceVertices(mesh);
+#else
faceSize = selection::numFaceVertices(*mesh->heightStratum(0)->begin(), mesh);
+#endif
indices = new int[faceSize];
}
More information about the cig-commits
mailing list