#include "petscksp.h" int KSPSetDiagonalScale(KSP ksp,PetscTruth scale)Collective on KSP
ksp | - the KSP context | |
scale | - PETSC_TRUE or PETSC_FALSE |
This routine is only used if the matrix and preconditioner matrix are the same thing.
If you use this with the PCType Eisenstat preconditioner than you can use the PCEisenstatNoDiagonalScaling() option, or -pc_eisenstat_no_diagonal_scaling to save some unneeded, redundant flops.
Level:intermediate
Location:src/ksp/ksp/interface/itfunc.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages