1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>GTSErrorMonitor</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="GTSErrorMonitor"><H1>GTSErrorMonitor</H1></A>
Displays the error at each iteration.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscts.h"
#include "gsolver.h"
int GTSErrorMonitor(GTS ts, int step, PetscReal ltime, GVec sol, void *monCtx)
</PRE>
Collective on GTS
<P>
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>ts </B></TD><TD>- The integrator context
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>step </B></TD><TD>- The current time step
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>ltime </B></TD><TD>- The current time
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>sol </B></TD><TD>- The current solution vector
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>monCtx </B></TD><TD>- The GTSErrorMonitorCxt
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
The final argument to <A HREF="../TS/TSSetMonitor.html#TSSetMonitor">TSSetMonitor</A>() with this routine must be
a pointer to a GTSErrorMonitorCtx.
<P>
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
grid ts, monitor, error
<BR>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
TSDefaultMonitor(),<A HREF="../TS/TSSetMonitor.html#TSSetMonitor">TSSetMonitor</A>(),<A HREF="../GSolver/GTSSolutionMonitor.html#GTSSolutionMonitor">GTSSolutionMonitor</A>(), GTSResidualMonitor()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>intermediate
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/gsolver/interface/gts.c.html#GTSErrorMonitor">src/gsolver/interface/gts.c</A>
<BR><A HREF="./index.html">Index of all GSolver routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|