SNESNGMRESGetAdaptiveParameters#

Gets the parameters of the adaptive window of SNESNGMRES

Synopsis#

#include "petscsnes.h" 
PetscErrorCode SNESNGMRESGetAdaptiveParameters(SNES snes, PetscInt *m, PetscReal *tol)

Not Collective

Input Parameter#

  • snes - the SNES context

Output Parameters#

  • m - the initial number of stored solutions in the window

  • tol - the tolerance below which the window grows by one

See Also#

SNES: Nonlinear Solvers, SNES, SNESNGMRES, SNESNGMRESSetAdaptiveParameters(), SNESNGMRESSetAdaptive()

Level#

advanced

Location#

src/snes/impls/ngmres/snesngmres.c

Implementations#

SNESNGMRESGetAdaptiveParameters_NGMRES() in src/snes/impls/ngmres/snesngmres.c


Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages