[petsc-users] Question about preallocation and getOwnership functions

Jed Brown jed at jedbrown.org
Thu Dec 4 09:35:21 CST 2014


"Sun, Hui" <hus003 at ucsd.edu> writes:

> After reading some documentation, I figured it out myself. MATAIJ can
> be MATSEQAIJ or MATMPIAIJ, depending on the number of processors
> involved. Thus, I need to include the command
> MatSeqAIJSetPreallocation as well, to cover both cases.

Or call MatXAIJSetPreallocation and be done with it for all *AIJ
formats.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141204/5c647c18/attachment.pgp>


More information about the petsc-users mailing list