PetscFunctionEnd

Last executable line of each PETSc function used for error handling. Replaces return()

Synopsis

void PetscFunctionReturn(0);

Usage

    ....
     PetscFunctionReturn(0);
   }

Notes

Not available in Fortran

See Also

PetscFunctionBegin()

Keywords

traceback, error handling

Level:developer
Location:
src/sys/src/objects/pinit.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages