KSPLGMonitorCreate

Creates a line graph context for use with KSP to monitor convergence of preconditioned residual norms.

Synopsis

int KSPLGMonitorCreate(char *host,char *label,int x,int y,int m,
                       int n, DrawLG *draw)
Collective on KSP

Input Parameters

host - the X display to open, or null for the local machine
label - the title to put in the title bar
x, y - the screen coordinates of the upper left coordinate of the window
m, n - the screen width and height in pixels

Output Parameter

draw -the drawing context

Options Database Key

-ksp_xmonitor -Sets line graph monitor

Notes

Use KSPLGMonitorDestroy() to destroy this line graph, not DrawLGDestroy().

Keywords

KSP, monitor, line graph, residual, create

See Also

KSPLGMonitorDestroy(), KSPSetMonitor(), KSPLGTrueMonitorCreate()

Location: src/ksp/interface/xmon.c
KSP Index
Table of Contents