petsc-3.5.4 2015-05-23
Report Typos and Errors

TSMonitorLGCtxCreate

Creates a line graph context for use with TS to monitor the solution process graphically in various ways

Synopsis

#include "petscts.h"  
PetscErrorCode  TSMonitorLGCtxCreate(MPI_Comm comm,const char host[],const char label[],int x,int y,int m,int n,PetscInt howoften,TSMonitorLGCtx *ctx)
Collective on TS

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
howoften - if positive then determines the frequency of the plotting, if -1 then only at the final time

Output Parameter

ctx -the context

Options Database Key

-ts_monitor_lg_timestep - automatically sets line graph monitor
-ts_monitor_lg_solution -
-ts_monitor_lg_error -
-ts_monitor_lg_ksp_iterations -
-ts_monitor_lg_snes_iterations -
-lg_indicate_data_points <true,false> - indicate the data points (at each time step) on the plot; default is true

Notes

Use TSMonitorLGCtxDestroy() to destroy.

Keywords

TS, monitor, line graph, residual, seealso

See Also

TSMonitorLGTimeStep(), TSMonitorSet(), TSMonitorLGSolution(), TSMonitorLGError()

Level:intermediate
Location:
src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages