PetscCallA#

Fortran-only macro that should be used in the main program to call PETSc functions instead of using PetscCall() which should be used in other Fortran subroutines

Synopsis#

#include <petscsys.h>
PetscErrorCode PetscCallA(PetscFunction(arguments,ierr))

Collective

Input Parameter#

  • PetscFunction(arguments,ierr) - the call to the function

Notes#

This should only be used with Fortran. With C/C++, use PetscCall() always.

Use SETERRA() to set an error in a Fortran main program and SETERRQ() in Fortran subroutines

See Also#

SETERRQ(), SETERRA(), SETERRABORT(), PetscCall(), CHKERRA(), PetscCallAbort()

Level#

beginner

Location#

include/petscerror.h


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages