#include "petscsys.h" PetscErrorCode PetscMemoryView(PetscViewer viewer,const char message[])Collective on PetscViewer
viewer | - the viewer that defines the communicator | |
message | - string printed before values |
-malloc | - have PETSc track how much memory it has allocated | |
-memory_view | - during PetscFinalize() have this routine called |