[cig-commits] r20889 - short/3D/PyLith/trunk/unittests/libtests/bc

knepley at geodynamics.org knepley at geodynamics.org
Tue Oct 23 09:31:36 PDT 2012


Author: knepley
Date: 2012-10-23 09:31:35 -0700 (Tue, 23 Oct 2012)
New Revision: 20889

Modified:
   short/3D/PyLith/trunk/unittests/libtests/bc/TestNeumann.cc
Log:
All BC tests pass except Absorbing Jacobian

Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestNeumann.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestNeumann.cc	2012-10-23 15:40:35 UTC (rev 20888)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestNeumann.cc	2012-10-23 16:31:35 UTC (rev 20889)
@@ -774,7 +774,7 @@
   int icell = 0;
   const PylithScalar tolerance = 1.0e-06;
   err = VecGetArray(vec, &array);CHECK_PETSC_ERROR(err);
-  for(PetscInt c = cStart; c < cEnd; ++c) {
+  for(PetscInt c = cStart; c < cEnd; ++c, ++icell) {
     PetscInt dof, off;
 
     err = PetscSectionGetDof(section, c, &dof);CHECK_PETSC_ERROR(err);



More information about the CIG-COMMITS mailing list