吕超 <[email protected]> writes:

>      Can you tell me whether I need to caculate the exact diag and
>      off-diag arrays related to the nonzeros numbers when I use
>      subroutine MatMPIBAIJSetPreallocationCSR to allocate memory?

If you are asking this question, you should use the simpler
MatXAIJSetPreallocation().  You can over-estimate, but do not
under-estimate.

>      I have read this website
>      
> "http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatMPIAIJSetPreallocationCSR.html";,
>      but I don't understand it clealy. So can you tell me where can I
>      find the example of MatMPIBAIJSetPreallocationCSR?

Attachment: pgpnyh8ErLj9E.pgp
Description: PGP signature

Reply via email to