[cig-commits] r19911 - short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/problems
brad at geodynamics.org
brad at geodynamics.org
Fri Mar 30 15:46:59 PDT 2012
Author: brad
Date: 2012-03-30 15:46:58 -0700 (Fri, 30 Mar 2012)
New Revision: 19911
Modified:
short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/problems/SolverNonlinear.cc
Log:
Updated for change in PETSc macro.
Modified: short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/problems/SolverNonlinear.cc
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/problems/SolverNonlinear.cc 2012-03-30 15:48:38 UTC (rev 19910)
+++ short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/problems/SolverNonlinear.cc 2012-03-30 22:46:58 UTC (rev 19911)
@@ -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