PetscRegisterFinalize#
Registers a function that is to be called in PetscFinalize()
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscRegisterFinalize(PetscErrorCode (*f)(void))
Not Collective
Input Parameter#
*PetscErrorCode (fun)(void) -
Note#
This is used by, for example, DMInitializePackage()
to have DMFinalizePackage()
called
See Also#
Level#
developer
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages