#include "petscsnes.h" PetscErrorCode SNESLineSearchPreCheckPicard(SNESLineSearch linesearch,Vec X,Vec Y,PetscBool *changed,void *ctx)Logically Collective on SNESLineSearch
linesearch | - linesearch context | |
X | - base state for this step | |
Y | - initial correction | |
ctx | - context for this function |
Y | - correction, possibly modified | |
changed | - flag indicating that Y was modified |
-snes_linesearch_precheck_picard | - activate this routine | |
-snes_linesearch_precheck_picard_angle | - angle |
The justification for this method involves the linear convergence of a Picard iteration so the Picard linearization should be provided in place of the "Jacobian". This correction is generally not useful when using a Newton linearization.