#include "petscmat.h" PetscErrorCode PETSCMAT_DLLEXPORT MatSeqSBAIJSetPreallocation(Mat B,PetscInt bs,PetscInt nz,const PetscInt nnz[])Collective on Mat
A | - the symmetric matrix | |
bs | - size of block | |
nz | - number of block nonzeros per block row (same for all rows) | |
nnz | - array containing the number of block nonzeros in the upper triangular plus diagonal portion of each block (possibly different for each block row) or PETSC_NULL |
  MatSeqSBAIJSetPreallocation(Mat A,PetscInt bs,const PetscInt nnz[]) | -> | MatSeqSBAIJSetPreallocation(A,bs,0,nnz) |
If the nnz parameter is given then the nz parameter is ignored
Level:intermediate
Location:src/mat/impls/sbaij/seq/sbaij.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages