File: SNES_NORM_INITIAL_ONLY.html

package info (click to toggle)
petsc 3.14.5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 266,472 kB
  • sloc: ansic: 680,898; python: 33,303; cpp: 16,324; makefile: 14,022; f90: 13,731; javascript: 10,713; fortran: 9,581; sh: 1,373; xml: 619; objc: 445; csh: 192; pascal: 148; java: 13
file content (28 lines) | stat: -rw-r--r-- 2,160 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
27
28
<!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.14.5 2021-03-03</b></div>
   <div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.14.5 v3.14.5 docs/manualpages/SNES/SNES_NORM_INITIAL_ONLY.html "><small>Report Typos and Errors</small></a></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/SNESNormSchedule.html#SNESNormSchedule">SNESNormSchedule</A>, <A HREF="../SNES/SNESSetNormSchedule.html#SNESSetNormSchedule">SNESSetNormSchedule</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></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>advanced<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</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>