SNESFASGetCoarseCorrectionLineSearch#
Get the line search applied to the coarse correction update on a particular level of a multiplicative SNESFAS cycle.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESFASGetCoarseCorrectionLineSearch(SNES snes, PetscInt level, SNESLineSearch *ls)
Not Collective
Input Parameters#
snes - the
SNESFASnonlinear multigrid context, obtained from the finest levellevel - the level (0 is coarsest) whose coarse correction line search is being retrieved
Output Parameter#
ls - the
SNESLineSearchobject;NULLif no line search has been requested withSNESFASSetUseCoarseCorrectionLineSearch()or-snes_fas_use_coarse_correction_linesearch
Notes#
This does not create the line search as a side effect; it returns whatever SNESLineSearch currently exists for the requested level, or NULL.
Must be called after SNESSetFromOptions().
See Also#
SNES: Nonlinear Solvers, SNES, SNESFAS, SNESFASSetUseCoarseCorrectionLineSearch(), SNESLineSearch
Level#
advanced
Location#
Implementations#
SNESFASGetCoarseCorrectionLineSearch_FAS() in src/snes/impls/fas/fas.c
Index of all SNESFAS routines
Table of Contents for all manual pages
Index of all manual pages