[petsc-users] Dense multiply Sparse

Jed Brown jedbrown at mcs.anl.gov
Fri May 25 09:57:07 CDT 2012


On Fri, May 25, 2012 at 9:49 AM, Matthew Knepley <knepley at gmail.com> wrote:

> I think MatGetArray needs to be removed. Pretty much any use of it is
>> wrong. It is not even the right thing for dense matrices because they
>> should be distributed differently than PETSc does now.
>>
> Without it, people cannot get directly to the AIJ data structure. No
> matter how wrong it is,
> it is a constant request. I would keep it in just to satisfy that large
> number of petsc-maints.
>

There can be a MatSeqAIJGetArray() and others.

These arrays are all different things so the user should call a different
function to make it clear what they are getting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120525/a91770c9/attachment.html>


More information about the petsc-users mailing list