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

knepley at geodynamics.org knepley at geodynamics.org
Thu Jul 11 17:32:43 PDT 2013


Author: knepley
Date: 2013-07-11 17:32:43 -0700 (Thu, 11 Jul 2013)
New Revision: 22570

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc
Log:
Fixed Field::zero()

Modified: short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc	2013-07-11 20:48:27 UTC (rev 22569)
+++ short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc	2013-07-12 00:32:43 UTC (rev 22570)
@@ -598,7 +598,7 @@
     err = PetscSectionGetDof(section, p, &dof);PYLITH_CHECK_ERROR(err);
     if (dof > 0) {
       assert(dof <= maxDof);
-      err = DMPlexVecSetClosure(_dm, section, _localVec, p, &values[0], INSERT_VALUES);PYLITH_CHECK_ERROR(err);
+      err = VecSetValuesSection(_localVec, section, p, &values[0], INSERT_VALUES);PYLITH_CHECK_ERROR(err);
     } // if
   } // for
 



More information about the CIG-COMMITS mailing list