NEPMonitorRegisterFn — SLEPc 3.25.1 documentation

Skip to main content
`Ctrl`+`K`

# NEPMonitorRegisterFn

A function prototype for functions provided to `NEPMonitorRegister()`.

## Synopsis

    PETSC_EXTERN_TYPEDEF typedef PetscErrorCode NEPMonitorRegisterFn(NEP nep,PetscInt its,PetscInt nconv,PetscScalar eigr[],PetscScalar eigi[],PetscReal errest[],PetscInt nest,PetscViewerAndFormat *ctx);

## Calling Sequence

- nep - the nonlinear eigensolver context

- its - iteration number

- nconv - number of converged eigenpairs

- eigr - real part of the eigenvalues

- eigi - imaginary part of the eigenvalues

- errest - relative error estimates for each eigenpair

- nest - number of error estimates

- ctx - `PetscViewerAndFormat` object

## Note

This is a `NEPMonitorFn` specialized for a context of `PetscViewerAndFormat`.

## See Also

NEP: Nonlinear Eigenvalue Problems, `NEPMonitorSet()`, `NEPMonitorRegister()`, `NEPMonitorFn`, `NEPMonitorRegisterCreateFn`, `NEPMonitorRegisterDestroyFn`

## Level

advanced

## Location

include/slepcnep.h

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