| 12
 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
 
 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>GSNESErrorMonitor</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="GSNESErrorMonitor"><H1>GSNESErrorMonitor</H1></A>
Displays the error at each iteration. 
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscsnes.h" 
#include "gsolver.h" 
int GSNESErrorMonitor(GSNES snes, int it, PetscReal rnorm, void *monCtx)
</PRE>
Collective on GSNES
<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>snes   </B></TD><TD>- The nonlinear context
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>it     </B></TD><TD>- The number of iterations so far
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>rnorm  </B></TD><TD>- The current (approximate) residual norm
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>monCtx </B></TD><TD>- A GSNESErrorMonitorCtx
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
The final argument to <A HREF="../SNES/SNESSetMonitor.html#SNESSetMonitor">SNESSetMonitor</A>() with this routine must be a pointer to a GSNESErrorMonitorCtx.
<P>
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
 grid <A HREF="../SNES/SNES.html#SNES">SNES</A>, monitor, residual
<BR>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
 <A HREF="../GSolver/GSNESSolutionMonitor.html#GSNESSolutionMonitor">GSNESSolutionMonitor</A>(), <A HREF="../GSolver/GSNESResidualMonitor.html#GSNESResidualMonitor">GSNESResidualMonitor</A>(), <A HREF="../SNES/SNESDefaultMonitor.html#SNESDefaultMonitor">SNESDefaultMonitor</A>(), <A HREF="../SNES/SNESSetMonitor.html#SNESSetMonitor">SNESSetMonitor</A>()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>advanced
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/gsolver/interface/gsnes.c.html#GSNESErrorMonitor">src/gsolver/interface/gsnes.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>
 |