MatLMVMSymBroydenSetPhi#
Get the phi parameter for a Broyden class quasi-Newton update matrix
Synopsis#
#include "petscksp.h"
PetscErrorCode MatLMVMSymBroydenSetPhi(Mat B, PetscReal phi)
Input Parameter#
B - The matrix
phi - a number defining an update that is a convex combination of the BFGS update (phi = 0) and DFP update (phi = 1)
Note#
If B
cannot have a constant value of phi
for all iterations this will be ignored.
This is the case if B
is a MATLMVMSYMBADBROYDEN
, where phi
’s dual value
psi
is constant and phi
changes from iteration to iteration.
See Also#
KSP: Linear System Solvers,
MATLMVMSYMBROYDEN
, MATLMVMSYMBADBROYDEN
,
MATLMVMDFP
, MATLMVMBFGS
,
MatLMVMSymBroydenGetPhi()
,
MatLMVMSymBadBroydenGetPsi()
, MatLMVMSymBadBroydenSetPsi()
Level#
advanced
Location#
src/ksp/ksp/utils/lmvm/symbrdn/symbrdn.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages