[petsc-users] MatMPIBAIJSetPreallocationCSR i and j indices

Jed Brown jedbrown at mcs.anl.gov
Sun Sep 29 11:56:46 CDT 2013


Barry Smith <bsmith at mcs.anl.gov> writes:
> I found this discussion values(bs,nblockcols,bs,nblockrows) very
> confusing. MatMPIBAIJSetPreallocationCSR() doesn't take a square block
> of values so I didn't see what you are talking about. You must be
> talking about each internal call to
> MatSetValuesBlocked_MPIBAIJ(B,1,&row,ncols,icols,svals,INSERT_VALUES)
> where it puts in one block row of values with each call.

Yeah, or inserting an element matrix where you have several block rows.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130929/cc88de76/attachment.pgp>


More information about the petsc-users mailing list