#include "petscksp.h" PetscErrorCode KSPRichardsonSetSelfScale(KSP ksp,PetscBool scale)Logically Collective on KSP
ksp | - the iterative context | |
scale | - PETSC_TRUE or the default of PETSC_FALSE |
Notes: Requires two extra work vectors. Uses an extra VecAXPY() and VecDotNorm2() per iteration.
Developer Notes: Could also minimize the 2-norm of the true residual with one less work vector
Level:intermediate
Location:src/ksp/ksp/impls/rich/richscale.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages