#include "petscsys.h" PetscErrorCode PetscMallocSet(PetscErrorCode (*imalloc)(size_t,PetscBool,int,const char[],const char[],void**), PetscErrorCode (*ifree)(void*,int,const char[],const char[]), PetscErrorCode (*iralloc)(size_t, int, const char[], const char[], void **))Not Collective
imalloc | - the routine that provides the malloc (also provides calloc(), which is used depends on the second argument) | |
ifree | - the routine that provides the free | |
iralloc | - the routine that provides the realloc |