[petsc-users] Question about preallocation and getOwnership functions
Jed Brown
jed at jedbrown.org
Thu Dec 4 09:50:37 CST 2014
"Young, Matthew, Adam" <may at bu.edu> writes:
> Is there an advantage to using MatXAIJSetPreallocation (as Jed
> suggested) or either of the SEQ/MPI preallocation routines (as Hui
> originally considered) instead of calling MatSetUp to cover all cases?
If you don't preallocate, MatSetUp guesses:
http://www.mcs.anl.gov/petsc/documentation/faq.html#efficient-assembly
-------------- 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/075bb4a3/attachment.pgp>
More information about the petsc-users
mailing list