[petsc-dev] MatCreateMPIAIJ(), MatCreateMPIBAIJ(), MatCreateMPISBAIJ() wrongly named

Jed Brown jedbrown at mcs.anl.gov
Thu Mar 1 11:37:02 CST 2012


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.


>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120301/14ae4d7e/attachment.html>


More information about the petsc-dev mailing list