PCSLESSetUseTrue

Sets a flag to indicate that the true matrix (rather than the matrix used to define the preconditioner) is used to compute the residual inside the inner solve.

Synopsis

#include "petscpc.h" 
#include "petscsles.h" 
int PCSLESSetUseTrue(PC pc)
Collective on PC

Input Parameters

pc -the preconditioner context

Options Database Key

-pc_sles_true -Activates PCSLESSetUseTrue()

Note

For the common case in which the preconditioning and linear system matrices are identical, this routine is unnecessary.

Keywords

PC, SLES, set, true, local, flag

See Also

PCSetOperators(), PCBJacobiSetUseTrueLocal()

Level:advanced
Location:
src/sles/pc/impls/sles/pcsles.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages