File: PCGAMG.html

package info (click to toggle)
petsc 3.7.5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 163,864 kB
  • ctags: 618,438
  • sloc: ansic: 515,133; python: 29,793; makefile: 20,458; fortran: 18,998; cpp: 6,515; f90: 3,914; sh: 1,012; xml: 621; objc: 445; csh: 240; java: 13
file content (44 lines) | stat: -rw-r--r-- 4,006 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
43
44
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCGAMG.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PCGAMG</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
   <div id="version" align=right><b>petsc-3.7.5 2017-01-01</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.7.5 v3.7.5 docs/manualpages/PC/PCGAMG.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PCGAMG"><H1>PCGAMG</H1></A>
Geometric algebraic multigrid (AMG) preconditioner 
<H3><FONT COLOR="#CC3333">Options Database Keys</FONT></H3>
Multigrid options(inherited)
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_mg_cycles &lt;v&gt;: v or w (<A HREF="../PC/PCMGSetCycleType.html#PCMGSetCycleType">PCMGSetCycleType</A>())</B></TD><TD>- .  -pc_mg_smoothup &lt;1&gt;: Number of post-smoothing steps (<A HREF="../PC/PCMGSetNumberSmoothUp.html#PCMGSetNumberSmoothUp">PCMGSetNumberSmoothUp</A>)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_mg_smoothdown &lt;1&gt;: Number of pre</B></TD><TD>- smoothing steps (<A HREF="../PC/PCMGSetNumberSmoothDown.html#PCMGSetNumberSmoothDown">PCMGSetNumberSmoothDown</A>)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_mg_type &lt;multiplicative&gt;: (one of) additive multiplicative full kascade</B></TD><TD>- 
</TD></TR></TABLE>
<P>
Notes: In order to obtain good performance for <A HREF="../PC/PCGAMG.html#PCGAMG">PCGAMG</A> for vector valued problems you must
<pre>
      Call <A HREF="../Mat/MatSetBlockSize.html#MatSetBlockSize">MatSetBlockSize</A>() to indicate the number of degrees of freedom per grid point
</pre>
<pre>
      Call <A HREF="../Mat/MatSetNearNullSpace.html#MatSetNearNullSpace">MatSetNearNullSpace</A>() (or <A HREF="../PC/PCSetCoordinates.html#PCSetCoordinates">PCSetCoordinates</A>() if solving the equations of elasticity) to indicate the near null space of the operator
</pre>
<pre>
      See the Users Manual Chapter 4 for more details
</pre>
<P>

<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
  <A HREF="../PC/PCCreate.html#PCCreate">PCCreate</A>(), <A HREF="../PC/PCSetType.html#PCSetType">PCSetType</A>(), <A HREF="../Mat/MatSetBlockSize.html#MatSetBlockSize">MatSetBlockSize</A>(), <A HREF="../PC/PCMGType.html#PCMGType">PCMGType</A>, <A HREF="../PC/PCSetCoordinates.html#PCSetCoordinates">PCSetCoordinates</A>(), <A HREF="../Mat/MatSetNearNullSpace.html#MatSetNearNullSpace">MatSetNearNullSpace</A>(), <A HREF="../PC/PCGAMGSetType.html#PCGAMGSetType">PCGAMGSetType</A>(), PCGAMGAGG, PCGAMGGEO, PCGAMGCLASSICAL, <A HREF="../PC/PCGAMGSetProcEqLim.html#PCGAMGSetProcEqLim">PCGAMGSetProcEqLim</A>(),
<BR><A HREF="../PC/PCGAMGSetCoarseEqLim.html#PCGAMGSetCoarseEqLim">PCGAMGSetCoarseEqLim</A>(), <A HREF="../PC/PCGAMGSetRepartitioning.html#PCGAMGSetRepartitioning">PCGAMGSetRepartitioning</A>(), <A HREF="../PC/PCGAMGRegister.html#PCGAMGRegister">PCGAMGRegister</A>(), <A HREF="../PC/PCGAMGSetReuseInterpolation.html#PCGAMGSetReuseInterpolation">PCGAMGSetReuseInterpolation</A>(), <A HREF="../PC/PCGAMGSetUseASMAggs.html#PCGAMGSetUseASMAggs">PCGAMGSetUseASMAggs</A>(), <A HREF="../PC/PCGAMGSetNlevels.html#PCGAMGSetNlevels">PCGAMGSetNlevels</A>(), <A HREF="../PC/PCGAMGSetThreshold.html#PCGAMGSetThreshold">PCGAMGSetThreshold</A>(), <A HREF="../PC/PCGAMGGetType.html#PCGAMGGetType">PCGAMGGetType</A>()
<P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>intermediate
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/ksp/pc/impls/gamg/gamg.c.html#PCGAMG">src/ksp/pc/impls/gamg/gamg.c</A>
<BR><A HREF="./index.html">Index of all PC 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>