petsc-3.7.1 2016-05-15
Report Typos and Errors

KSPMonitorSetFromOptions

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

Synopsis

#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 Many br

Input Parameters

ksp - KSP object you wish to monitor Many br
name - the monitor type one is seeking Many br
help - message indicating what monitoring is done Many br
manual - manual page for the monitor Many br
monitor - the monitor function, the context for this object is a PetscViewerAndFormat Many br

Many br

See Also

PetscOptionsGetViewer(), PetscOptionsGetReal(), PetscOptionsHasName(), PetscOptionsGetString(),
PetscOptionsGetIntArray(), PetscOptionsGetRealArray(), PetscOptionsBool() Many brPetscOptionsInt(), PetscOptionsString(), PetscOptionsReal(), PetscOptionsBool(), Many brPetscOptionsName(), PetscOptionsBegin(), PetscOptionsEnd(), PetscOptionsHead(), Many brPetscOptionsStringArray(),PetscOptionsRealArray(), PetscOptionsScalar(), Many brPetscOptionsBoolGroupBegin(), PetscOptionsBoolGroup(), PetscOptionsBoolGroupEnd(), Many brPetscOptionsFList(), PetscOptionsEList() Many br

Level:developer
Location:
src/ksp/ksp/interface/itcl.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages