MatStashGetInfo

Gets how many values are currently in the matrix stash, i.e. need to be communicated to other processors during the MatAssemblyBegin/End() process

Synopsis

#include "petscmat.h" 
PetscErrorCode MatStashGetInfo(Mat mat,PetscInt *nstash,PetscInt *reallocs,PetscInt *bnstash,PetscInt *breallocs)
Not collective

Input Parameter

vec - the vector

Output Parameters

nstash - the size of the stash
reallocs - the number of additional mallocs incurred.
bnstash - the size of the block stash
breallocs - the number of additional mallocs incurred.in the block stash

Level: advanced

See Also

MatAssemblyBegin(), MatAssemblyEnd(), Mat, MatStashSetInitialSize()

Location:matrix.c