Florian Lindner writes:
>Am I right to assume that nnz is to in the the PETSc ordering of rows and not
>application ordering?
Yes
signature.asc
Description: PGP signature
Hello,
> MatGetOwnershipRangesColumn
Thanks! That's what I was looking for.
I have set a MatSetLocalToGlobalMapping on the matrix and I use
MatMPIAIJSetPreallocation(_matrixA.matrix, 0, d_nnz, 0, o_nnz)
to set the preallocation. Am I right to assume that nnz is to in the the PETSc
ordering
On Wed, Apr 6, 2016 at 10:12 AM, Florian Lindner
wrote:
> Hello,
>
> in order to preallocate I have to know whether a non-zero will be in the
> local diagonal submatrix or not.
>
>
>
Hello,
in order to preallocate I have to know whether a non-zero will be in the local
diagonal submatrix or not.
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatMPIAIJSetPreallocation.html
says:
The DIAGONAL portion of the local submatrix of a processor can be defined as