#include "petscksp.h" PetscErrorCode PCSetDiagonalScale(PC pc,Vec s)Logically Collective on PC Many br
pc | - the preconditioner context Many br | |
s | - scaling vector Many br |
Many br
Notes: The system solved via the Krylov method is Many br
D M A D^{-1} y = D M b for left preconditioning or
D A M D^{-1} z = D b for right preconditioning
PCDiagonalScaleLeft() scales a vector by D. PCDiagonalScaleRight() scales a vector by D^{-1}. Many br
Level:intermediate
Location:src/ksp/pc/interface/precon.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages