#include "petscksp.h" PetscErrorCode MatLMVMSymBroydenSetScaleType(Mat B, MatLMVMSymBroydenScaleType stype)
snes | - the iterative context | |
rtype | - restart type |
-mat_lmvm_scale_type <none,scalar,diagonal> | - set the scaling type |
MAT_LMVM_SYMBROYDEN_SCALE_NONE | - initial Hessian is the identity matrix | |
MAT_LMVM_SYMBROYDEN_SCALE_SCALAR | - use the Shanno scalar as the initial Hessian | |
MAT_LMVM_SYMBROYDEN_SCALE_DIAGONAL | - use a diagonalized BFGS update as the initial Hessian |