[petsc-dev] MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() wrongly named
Barry Smith
bsmith at mcs.anl.gov
Thu Mar 1 11:39:13 CST 2012
On Mar 1, 2012, at 11:37 AM, Jed Brown wrote:
> On Thu, Mar 1, 2012 at 11:31, Barry Smith <bsmith at mcs.anl.gov> wrote:
> Cool. Some suggestions for this routine:
>
> 1) get rid of the maximum number of non-zeros per row arguments, they are stupid and just make this calling sequence too damn complicated looking.
>
> Okay, I thought I would help people out who wanted to punt, but I don't mind removing it.
I just want it removed from the XAIJ preallocation one, not the individual preallocation ones, leave that them in that one.
>
>
> 2) the manual page doesn't make clear these are nonzero BLOCKS per row, not nonzero entries per row.
>
> fixing
>
>
> Barry
>
>
> Input Arguments:
> + A - matrix being preallocated
> . bs - block size
> . dnz - maximum number of nonzero entries per row of diagonal block of parallel matrix
> . dnnz - number of nonzeros per row of diagonal block of parallel matrix
> . onz - maximum number of nonzero entries per row of off-diagonal block of parallel matrix
> . onnz - number of nonzeros per row of off-diagonal block of parallel matrix
> . dnzu - maximum number of nonzero entries per row of upper-triangular part of diagonal block of parallel matrix
> . dnnzu - number of nonzeros per row of upper-triangular part of diagonal block of parallel matrix
> . onzu - maximum number of nonzero entries per row of upper-triangular part of off-diagonal block of parallel matrix
> - onnzu - number of nonzeros per row of upper-triangular part of off-diagonal block of parallel matrix
>
More information about the petsc-dev
mailing list