[cig-commits] r19913 - short/3D/PyLith/branches/v1.7-trunk/libsrc/pylith/problems

brad at geodynamics.org brad at geodynamics.org
Fri Mar 30 15:49:24 PDT 2012


Author: brad
Date: 2012-03-30 15:49:24 -0700 (Fri, 30 Mar 2012)
New Revision: 19913

Modified:
   short/3D/PyLith/branches/v1.7-trunk/libsrc/pylith/problems/SolverNonlinear.cc
Log:
Merge from stable.

Modified: short/3D/PyLith/branches/v1.7-trunk/libsrc/pylith/problems/SolverNonlinear.cc
===================================================================
--- short/3D/PyLith/branches/v1.7-trunk/libsrc/pylith/problems/SolverNonlinear.cc	2012-03-30 22:48:19 UTC (rev 19912)
+++ short/3D/PyLith/branches/v1.7-trunk/libsrc/pylith/problems/SolverNonlinear.cc	2012-03-30 22:49:24 UTC (rev 19913)
@@ -114,7 +114,7 @@
   PetscSNESLineSearch ls;
 
   err = SNESGetSNESLineSearch(_snes, &ls); CHECK_PETSC_ERROR(err);
-  err = SNESLineSearchSetType(ls, SNES_LINESEARCH_SHELL); CHECK_PETSC_ERROR(err);
+  err = SNESLineSearchSetType(ls, SNESSHELL); CHECK_PETSC_ERROR(err);
   err = SNESLineSearchShellSetUserFunc(ls, lineSearch, (void*) formulation); CHECK_PETSC_ERROR(err);
 
   if (formulation->splitFields()) {



More information about the CIG-COMMITS mailing list