Re: [petsc-dev] I do not think this is the right solution
18 Mar
2012
18 Mar
'12
7:10 p.m.
On Sun, Mar 18, 2012 at 18:55, Matthew Knepley <[email protected]> wrote:
No off-diagonal.
So I think the MatGetArray() should be MatDenseGetArray() because it's not directly useful otherwise. For in-place modification (if that is actually useful), I'd do it with a callback. Note that for your specific purpose, you can do in-place modification with MatMPIAIJGetAIJ() and MatGetArray() on each off-diagonal block.
5261
Age (days ago)
5261
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jed Brown