[petsc-users] MatMPIBAIJSetPreallocationCSR i and j indices
Barry Smith
bsmith at mcs.anl.gov
Sun Sep 29 12:05:30 CDT 2013
On Sep 29, 2013, at 11:56 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> 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.
But that has absolutely nothing to do with MatMPIBAIJSetPreallocationCSR().
More information about the petsc-users
mailing list