[cig-commits] r19811 - in short/3D/PyLith/branches/v1.6-stable: examples/3d/hex8 libsrc/pylith/utils
brad at geodynamics.org
brad at geodynamics.org
Mon Mar 19 11:06:14 PDT 2012
Author: brad
Date: 2012-03-19 11:06:13 -0700 (Mon, 19 Mar 2012)
New Revision: 19811
Modified:
short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/pylithapp.cfg
short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/utils/petscfwd.h
Log:
Cleanup of customized line search. Updated to latest petsc-dev. Updated source code to match src/snes/linesearch/bt/linesearchbt.c with ifdefs used to clearly delineate customizations.
Modified: short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/pylithapp.cfg
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/pylithapp.cfg 2012-03-19 18:04:28 UTC (rev 19810)
+++ short/3D/PyLith/branches/v1.6-stable/examples/3d/hex8/pylithapp.cfg 2012-03-19 18:06:13 UTC (rev 19811)
@@ -96,7 +96,7 @@
snes_atol = 1.0e-9
snes_max_it = 100
snes_monitor = true
-snes_ls_monitor = true
+linesearch_monitor = true
#snes_view = true
snes_converged_reason = true
Modified: short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/utils/petscfwd.h
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/utils/petscfwd.h 2012-03-19 18:04:28 UTC (rev 19810)
+++ short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/utils/petscfwd.h 2012-03-19 18:06:13 UTC (rev 19811)
@@ -44,7 +44,7 @@
typedef struct _p_SNES* PetscSNES;
/// forward declatation for PETSc line search
-typedef struct _p_LineSearch* PetscLineSearch;
+typedef struct _p_LineSearch* PetscSNESLineSearch;
/// forward declaration for PETSc PC
typedef struct _p_PC* PetscPC;
More information about the CIG-COMMITS
mailing list