GTSErrorMonitor

Displays the error at each iteration.

Synopsis

#include "petscts.h" 
#include "gsolver.h" 
int GTSErrorMonitor(GTS ts, int step, PetscReal ltime, GVec sol, void *monCtx)
Collective on GTS

Input Parameters

ts - The integrator context
step - The current time step
ltime - The current time
sol - The current solution vector
monCtx - The GTSErrorMonitorCxt

Notes

The final argument to TSSetMonitor() with this routine must be a pointer to a GTSErrorMonitorCtx.

Keywords

grid ts, monitor, error

See Also

TSDefaultMonitor(),TSSetMonitor(),GTSSolutionMonitor(), GTSResidualMonitor()

Level:intermediate
Location:
src/gsolver/interface/gts.c
Index of all GSolver routines
Table of Contents for all manual pages
Index of all manual pages