File: KSPSPECEST.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 (42 lines) | stat: -rw-r--r-- 3,210 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPSPECEST.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>KSPSPECEST</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
   <div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<A NAME="KSPSPECEST"><H1>KSPSPECEST</H1></A>
Estimate the spectrum on the first <A HREF="../KSP/KSPSolve.html#KSPSolve">KSPSolve</A>, then use cheaper smoother for subsequent solves. 
<H3><FONT COLOR="#CC3333">Options Database Keys</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-ksp_specest_minfactor &lt;0.9&gt; </B></TD><TD>- Multiplier on the minimum eigen/singular value
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-ksp_specest_maxfactor &lt;1.1&gt; </B></TD><TD>- Multiplier on the maximum eigen/singular value
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-ksp_specest_richfactor &lt;1&gt;  </B></TD><TD>- Multiplier on the richimum eigen/singular value
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-specest_ksp_type &lt;type&gt;     </B></TD><TD>- <A HREF="../KSP/KSP.html#KSP">KSP</A> used to estimate the spectrum (usually CG or GMRES)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-speccheap_ksp_type &lt;type&gt;   </B></TD><TD>- <A HREF="../KSP/KSP.html#KSP">KSP</A> used as a cheap smoother once the spectrum has been estimated (usually Chebyshev or Richardson)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>see <A HREF="../KSP/KSPSolve.html#KSPSolve">KSPSolve</A>() for more</B></TD><TD>- 
Notes:
This <A HREF="../KSP/KSP.html#KSP">KSP</A> estimates the extremal singular values on the first pass, then uses them to configure a smoother that
uses fewer dot products.  It is intended for use on the levels of multigrid, especially at high process counts,
where dot products are very expensive.
</TD></TR></TABLE>
<P>
The same <A HREF="../PC/PC.html#PC">PC</A> is used for both the estimator and the cheap smoother, it is only set up once.  There are no options
keys for -specest_pc_ or speccheap_pc_ since it is the same object as -pc_.
<P>

<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
 <A HREF="../KSP/KSPCreate.html#KSPCreate">KSPCreate</A>(), <A HREF="../KSP/KSPSetType.html#KSPSetType">KSPSetType</A>(), <A HREF="../KSP/KSPType.html#KSPType">KSPType</A> (for list of available types), <A HREF="../KSP/KSP.html#KSP">KSP</A>, <A HREF="../KSP/KSPGMRES.html#KSPGMRES">KSPGMRES</A>, <A HREF="../KSP/KSPCG.html#KSPCG">KSPCG</A>, <A HREF="../KSP/KSPCHEBYSHEV.html#KSPCHEBYSHEV">KSPCHEBYSHEV</A>, <A HREF="../KSP/KSPRICHARDSON.html#KSPRICHARDSON">KSPRICHARDSON</A>
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>intermediate
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/ksp/ksp/impls/specest/specest.c.html#KSPSPECEST">src/ksp/ksp/impls/specest/specest.c</A>
<BR><A HREF="./index.html">Index of all KSP 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>