[petsc-users] MatGetSubMatrix for a Nested matrix
Matthew Knepley
knepley at gmail.com
Mon Aug 11 12:34:39 CDT 2014
On Mon, Aug 11, 2014 at 12:05 PM, Khai Hong Pham <khaipham at utexas.edu>
wrote:
> Hello Petsc-Users,
>
> In the MatGetSubMatrix, if the matrix mat is a nested matrix, for example
> [ A00 A01 | A10 A11], and I'd like to get submat A10. Then the isrow and
> iscol will be the index of the subblock matrix which is (1,0) or it must be
> the index of all rows, columns of the submat in the mat (like in
> MatGetSubMatrix). Please help me to clarify this.
>
It is the later (the list of rows/cols)
Thsnks,
Matt
> Thanks
>
> Khai
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140811/59ef2832/attachment.html>
More information about the petsc-users
mailing list