Ryan Yan wrote: > Hi All, > I have a question as follows: > > In order to use MatSetValuesBlocked() for a MPIAIJ matrix. I need to > call MatSetBlockSize() when I create the matrix.
Call MatSetBlockSize *after* preallocation. Jed -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091107/87f58206/attachment.pgp>
