#include "petscksp.h" PetscErrorCode KSPMonitorSetFromOptions(KSP ksp,const char name[],const char help[], const char manual[],PetscErrorCode (*monitor)(KSP,PetscInt,PetscReal,PetscViewerAndFormat*))Collective on KSP
| ksp | - KSP object you wish to monitor | |
| name | - the monitor type one is seeking | |
| help | - message indicating what monitoring is done | |
| manual | - manual page for the monitor | |
| monitor | - the monitor function, the context for this object is a PetscViewerAndFormat |