[petsc-users] MatGetDiagonalBlock and shell matrices
Steven Dargaville
dargaville.steven at gmail.com
Fri Aug 26 07:14:29 CDT 2016
Hi all
I'm just wondering if there is any plans in the future for
MatGetDiagonalBlock to support shell matrices by registering a
user-implemented MATOP? MatGetDiagonal supports MATOP, but the block
version of this does not.
I found a previous query on the user list which touched on this and
mentioned that it would be easy to add:
http://lists.mcs.anl.gov/pipermail/petsc-users/2011-May/008700.html
I have implemented a matrix-free multigrid algorithm using shell operations
in PETSc, and it would be very convenient to be able to provide a local
shell Mat so I could apply local GMRES (or other matvec-based solvers) as a
local block smoother.
Thanks!
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160826/c3d4deee/attachment.html>
More information about the petsc-users
mailing list