[petsc-users] question about KSPSetOperators
Sun, Hui
hus003 at ucsd.edu
Fri Feb 27 03:42:39 CST 2015
For KSPSetOperators or KSPSetComputeOperators, one needs to define the matrix. Now, instead of specifying the matrix, is it possible to define a linear operator, say LinearOperator(Vec input, &Vec output), and set it to be the KSP operator?
Thank you.
Hui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150227/a414f194/attachment.html>
More information about the petsc-users
mailing list