[petsc-users] Shell Matrix Operations required for KSP solvers?
Andrew Ho
andrewh0 at uw.edu
Mon Oct 22 18:43:21 CDT 2018
I have a specialized matrix structure I'm trying to take advantage of for
solving large scale (non)linear systems. I think for this purpose using a
Shell matrix is sufficient for interfacing with PETSc's KSP linear solvers.
Looking at the examples which use shell matrices, it seems most only
require implementing MatMult, and sometimes MatMultTranspose. Is there a
list of what operations are required (or optional but good to have) for the
different KSP solver types? This is specifically for the KSP solve itself,
not constructing the actual matrix. I'd also be interested if any of the
required/optional operations changes if preconditioners (left and/or right)
are used.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181022/3dd8f97f/attachment.html>
More information about the petsc-users
mailing list