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 <v>: v or w (<A HREF="../PC/PCMGSetCycleType.html#PCMGSetCycleType">PCMGSetCycleType</A>())</B></TD><TD>- . -pc_mg_smoothup <1>: 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 <1>: 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 <multiplicative>: (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>
|