slepc-3.8.3 2018-04-03
STPrecondSetKSPHasMat
Sets a flag indicating that during STSetUp the coefficient matrix of the KSP linear system (A) must be set to be the same matrix as the preconditioner (P).
Synopsis
#include "slepcst.h"
PetscErrorCode STPrecondSetKSPHasMat(ST st,PetscBool setmat)
Collective on ST
Input Parameter
| st | - the spectral transformation context
|
| setmat | - the flag
|
Notes
In most cases, the preconditioner matrix is used only in the PC object, but
in external solvers this matrix must be provided also as the A-matrix in
the KSP object.
See Also
STPrecondGetKSPHasMat(), STSetShift()
Location: src/sys/classes/st/impls/precond/precond.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages