slepc-3.7.3 2016-09-29
Report Typos and Errors

# NEPMonitorSetFromOptions

Sets a monitor function and viewer appropriate for the type indicated by the user.

### Synopsis

    #include "slepcnep.h"
    PetscErrorCode NEPMonitorSetFromOptions(NEP nep,const char name[],const char help[],const char manual[],PetscErrorCode (*monitor)(NEP,PetscInt,PetscInt,PetscScalar*,PetscScalar*,PetscReal*,PetscInt,PetscViewerAndFormat*),PetscBool trackall)

Collective on NEP

### Input Parameters

| nep | - the nonlinear eigensolver context
| name | - the monitor option name
| help | - message indicating what monitoring is done
| manual | - manual page for the monitor
| monitor | - the monitor function, whose context is a PetscViewerAndFormat
| trackall | - whether this monitor tracks all eigenvalues or not

### See Also

NEPMonitorSet(), NEPSetTrackAll(), NEPConvMonitorSetFromOptions()

Location: src/nep/interface/nepopts.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages