PetscCallEGADS — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscCallEGADS

Calls an EGADS 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 <petscdmplexegads.h>
    void PetscCallEGADS(func, args)

Not Collective

## Input Parameters

- func - any EGADS function that returns an error code

- args - the arguments to the function

## See Also

`PetscCall()`, `SETERRQ()`, `PetscCheck()`, `PetscAssert()`, `PetscTraceBackErrorHandler()`, `PetscCallMPI()`, `PetscPushErrorHandler()`, `PetscError()`, `CHKMEMQ`, `CHKERRA()`, `CHKERRMPI()`, `PetscCallBack()`, `PetscCallAbort()`, `PetscCallVoid()`, `PetscCallNull()`

## Level

beginner

## Location

include/petscdmplexegads.h

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