SLESSetDiagonalScaleFix

Tells SLES to diagonally scale the system back after solving.

Synopsis

#include "petscsles.h"    
int SLESSetDiagonalScaleFix(SLES sles)
Collective on SLES

Input Parameter

sles -the SLES context

Notes

Must be called after SLESSetDiagonalScale()

Using this will slow things down, because it rescales the matrix before and after each linear solve. This is intended mainly for testing to allow one to easily get back the original system to make sure the solution computed is accurate enough.

This routine is only used if the matrix and preconditioner matrix are the same thing.

Keywords

SLES, set, options, prefix, database

See Also

SLESGetDiagonalScale(), SLESSetDiagonalScale()

Level:intermediate
Location:
src/sles/interface/sles.c
Index of all SLES routines
Table of Contents for all manual pages
Index of all manual pages