PetscCallMOAB#

Calls a MOAB function and then checks the resulting error code, if it is non-zero it calls the error handler and returns from the current function with the error code PETSC_ERR_LIB.

Synopsis#

#include <petscdmmoab.h>
void PetscCallMOAB(MOABFunction(args))

Not Collective

Input Parameter#

  • MOABFunction - any MOAB function that returns an error code

See Also#

PetscCall(), SETERRQ(), PetscCheck(), PetscTraceBackErrorHandler(), PetscCallMPI(), PetscPushErrorHandler(), PetscError()

Level#

beginner

Location#

include/petscdmmoab.h


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