File: SNES_NORM_INITIAL_ONLY.html

package info (click to toggle)
petsc 3.4.2.dfsg1-8.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 129,104 kB
  • ctags: 516,422
  • sloc: ansic: 395,939; cpp: 47,201; python: 34,788; makefile: 17,193; fortran: 16,251; f90: 1,592; objc: 954; sh: 822; xml: 621; java: 381; lisp: 293; csh: 241
file content (26 lines) | stat: -rw-r--r-- 1,826 bytes parent folder | download
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNES_NORM_INITIAL_ONLY.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>SNES_NORM_INITIAL_ONLY</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
   <div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<A NAME="SNES_NORM_INITIAL_ONLY"><H1>SNES_NORM_INITIAL_ONLY</H1></A>
Compute the function and its L2 at iteration 0, but do not update it. 
<P>
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
This method is useful in composed methods, when a true solution might actually be found before <A HREF="../SNES/SNESSolve.html#SNESSolve">SNESSolve</A>() is called.
This option enables the solve to abort on the zeroth iteration if this is the case.
<P>
For solvers that require the computation of the L2 norm of the function as part of the method, this merely cancels
the norm computation at the last iteration (if possible).
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
 <A HREF="../SNES/SNESNormType.html#SNESNormType">SNESNormType</A>, <A HREF="../SNES/SNESSetNormType.html#SNESSetNormType">SNESSetNormType</A>(), <A HREF="../SNES/SNES_NORM_FINAL_ONLY.html#SNES_NORM_FINAL_ONLY">SNES_NORM_FINAL_ONLY</A>, <A HREF="../SNES/SNES_NORM_INITIAL_FINAL_ONLY.html#SNES_NORM_INITIAL_FINAL_ONLY">SNES_NORM_INITIAL_FINAL_ONLY</A>
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>advanced
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/snes/../../include/petscsnes.h.html#SNES_NORM_INITIAL_ONLY">src/snes/../../include/petscsnes.h</A>
<BR><A HREF="./index.html">Index of all SNES 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>