int32_t bHYPRE_IJParCSRMatrix_SetDiagOffdSizes ( bHYPRE_IJParCSRMatrix self, struct SIDL_int__array* diag_sizes, struct SIDL_int__array* offdiag_sizes)

(Optional) Set the max number of nonzeros to expect in each row of the diagonal and off-diagonal blocks

Documentation

(Optional) Set the max number of nonzeros to expect in each row of the diagonal and off-diagonal blocks. The diagonal block is the submatrix whose column numbers correspond to rows owned by this process, and the off-diagonal block is everything else. The arrays diag_sizes and offdiag_sizes contain estimated sizes for each row of the diagonal and off-diagonal blocks, respectively. This routine can significantly improve the efficiency of matrix construction, and should always be utilized if possible.

Not collective.

alphabetic index hierarchy of classes


generated by doc++