#include "petscksp.h" PetscErrorCode KSPComputeOperator(KSP ksp, MatType mattype, Mat *mat)Collective on ksp
|ksp||- the Krylov subspace context|
|mattype||- the matrix type to be used|
|mat||- the explict preconditioned operator|
Currently, this routine uses a dense matrix format for the output operator if mattype == NULL. This routine is costly in general, and is recommended for use only with relatively small systems.