SNESNewtonALSetDiagonalScaling#
Set the global vector used to rescale DoFs for computation of arc length.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESNewtonALSetDiagonalScaling(SNES snes, Vec v)
Logically Collective
Input Parameters#
snes - the nonlinear solver object
v - the
Veccontaining diagonal scaling for each DoF, must be the same size as the solution vector (may beNULL)
Note#
This function stores a reference to v. Any changes to the vector will be reflected automatically in the arc length computation.
See Also#
SNES: Nonlinear Solvers, SNES, SNESNEWTONAL, SNESNewtonALSetFunction(), SNESNewtonALGetLoadParameter()
Level#
intermediate
Location#
Examples#
Implementations#
SNESNewtonALSetDiagonalScaling_NEWTONAL() in src/snes/impls/al/al.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages