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

knepley at geodynamics.org knepley at geodynamics.org
Tue May 28 04:49:36 PDT 2013


Author: knepley
Date: 2013-05-28 04:49:36 -0700 (Tue, 28 May 2013)
New Revision: 22147

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesiveLagrange.cc
Log:
Use correct fault node number for PC construction

Modified: short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesiveLagrange.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesiveLagrange.cc	2013-05-28 04:32:21 UTC (rev 22146)
+++ short/3D/PyLith/trunk/libsrc/pylith/faults/FaultCohesiveLagrange.cc	2013-05-28 11:49:36 UTC (rev 22147)
@@ -684,9 +684,8 @@
 #endif
 
     // Set diagonal entries in preconditioned matrix.
-    // TODO Do we use v_lagrange, or v_negative?
     PetscInt poff = 0;
-    err = PetscSectionGetOffset(dispGlobalSection, v_negative, &poff);PYLITH_CHECK_ERROR(err);
+    err = PetscSectionGetOffset(dispGlobalSection, v_fault, &poff);PYLITH_CHECK_ERROR(err);
 
     for (int iDim=0; iDim < spaceDim; ++iDim)
       MatSetValue(*precondMatrix,



More information about the CIG-COMMITS mailing list