SLESGetDiagonalScale
Checks if SLES solver scales the matrix and right hand side
Synopsis
#include "sles.h"
int SLESGetDiagonalScale(SLES sles,PetscTruth *scale)
Not Collective
Input Parameter
sles -the SLES context
Output Parameter
scale -PETSC_TRUE or PETSC_FALSE
Notes
BE CAREFUL with this routine: it actually scales the matrix and right
hand side that define the system. After the system is solved the matrix
and right hand side remain scaled.
This routine is only used if the matrix and preconditioner matrix are
the same thing.
Keywords
SLES, set, options, prefix, database
See Also
SLESSetDiagonalScale(), SLESSetDiagonalScaleFix()
Level:intermediate
Location:src/sles/interface/sles.c
SLES Index
Table of Contents