HI all Thanks for this Barry, the branch you've made seems to be working perfectly. Do you think this change will make it into a future PETSc release? I can imagine this would be very useful for a number of people.
Thanks Steven On Sat, Aug 27, 2016 at 11:02 PM, Jed Brown <j...@jedbrown.org> wrote: > Barry Smith <bsm...@mcs.anl.gov> writes: > > > I have added support for this operation in the branch > barry/add-matshell-matgetdiagonalblock-fortran > > > > Barry > > > > Because this required changing the handling of the method > MatGetDiagonalBlock() the addition cannot be back ported to PETSc 3.7.x > > Huh, it seems okay to me. The change is only matimpl.h (which is > private anyway) and doesn't change method numbering so it shouldn't > affect the ABI. >