STPrecondSetMatForPC

Sets the matrix that will be passed as parameter in the KSPSetOperators function as the matrix to be used in constructing the preconditioner. If any matrix is set or mat is PETSC_NULL, A - sigma*B will be used, being sigma the value set by STSetShift

Synopsis

#include "slepcst.h" 
PetscErrorCode STPrecondSetMatForPC(ST st,Mat mat)
Collective on ST

Input Parameter

st - the spectral transformation context
mat - the matrix that will be used in constructing the preconditioner

See Also

STPrecondSetMatForPC(), KSPSetOperators()

Location: src/st/impls/precond/precond.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages