petsc-3.7.1 2016-05-15
Report Typos and Errors

PCDiagonalScaleLeft

Scales a vector by the left scaling as needed by certain time-stepping codes.

Synopsis

#include "petscksp.h" 
PetscErrorCode  PCDiagonalScaleLeft(PC pc,Vec in,Vec out)
Logically Collective on PC Many br

Input Parameters

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

If diagonal scaling is turned off and in is not out then in is copied to out Many br

Keywords

PC

See Also

PCCreate(), PCSetUp(), PCDiagonalScaleSet(), PCDiagonalScaleRight(), PCDiagonalScale()

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

pc - the preconditioner context Many br
in - input vector Many br+ out - scaled vector (maybe the same as in) Many br