#include "petscmat.h" PetscErrorCode MatStashSetInitialSize(Mat mat,PetscInt size, PetscInt bsize)Not Collective Many br
mat | - the matrix Many br | |
size | - the initial size of the stash. Many br | |
bsize | - the initial size of the block-stash(if used). Many br |
-matstash_initial_size <size> or <size0,size1,...sizep | - 1> Many br | |
-matstash_block_initial_size <bsize> or <bsize0,bsize1,...bsizep | - 1> Many br |
Many br
Run with the option -info and look for output of the form Many brMatAssemblyBegin_MPIXXX:Stash has MM entries, uses nn mallocs. Many brto determine the appropriate value, MM, to use for size and Many brMatAssemblyBegin_MPIXXX:Block-Stash has BMM entries, uses nn mallocs. Many brto determine the value, BMM to use for bsize Many br
Level:intermediate
Location:src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages