File: PCML.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 (52 lines) | stat: -rw-r--r-- 5,421 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
45
46
47
48
49
50
51
52
<!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/PCML.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PCML</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
   <div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<A NAME="PCML"><H1>PCML</H1></A>
Use algebraic multigrid preconditioning. This preconditioner requires you provide fine grid discretization matrix. The coarser grid matrices and restriction/interpolation operators are computed by ML, with the matrices coverted to PETSc matrices in aij format and the restriction/interpolation operators wrapped as PETSc shell matrices. 
<H3><FONT COLOR="#CC3333">Options Database Key</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;1&gt;: 1 for V cycle, 2 for W</B></TD><TD>- cycle (MGSetCycles)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_mg_smoothup &lt;1&gt;: Number of post</B></TD><TD>- smoothing steps (MGSetNumberSmoothUp)
</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 (MGSetNumberSmoothDown)
-pc_mg_type &lt;multiplicative&gt;: (one of) additive multiplicative full kascade
ML options:
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_ml_PrintLevel &lt;0&gt;: Print level (ML_Set_PrintLevel)</B></TD><TD>- .  -pc_ml_maxNlevels &lt;10&gt;: Maximum number of levels (None)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_ml_maxCoarseSize &lt;1&gt;: Maximum coarsest mesh size (ML_Aggregate_Set_MaxCoarseSize)</B></TD><TD>- .  -pc_ml_CoarsenScheme &lt;Uncoupled&gt;: (one of) Uncoupled Coupled MIS METIS
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_ml_DampingFactor &lt;1.33333&gt;: P damping factor (ML_Aggregate_Set_DampingFactor)</B></TD><TD>- .  -pc_ml_Threshold &lt;0&gt;: Smoother drop tol (ML_Aggregate_Set_Threshold)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_ml_SpectralNormScheme_Anorm &lt;false&gt;: Method used for estimating spectral radius (ML_Set_SpectralNormScheme_Anorm)</B></TD><TD>- .  -pc_ml_repartition &lt;false&gt;: Allow ML to repartition levels of the heirarchy (ML_Repartition_Activate)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_ml_repartitionMaxMinRatio &lt;1.3&gt;: Acceptable ratio of repartitioned sizes (ML_Repartition_Set_LargestMinMaxRatio)</B></TD><TD>- .  -pc_ml_repartitionMinPerProc &lt;512&gt;: Smallest repartitioned size (ML_Repartition_Set_MinPerProc)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_ml_repartitionPutOnSingleProc &lt;5000&gt;: Problem size automatically repartitioned to one processor (ML_Repartition_Set_PutOnSingleProc)</B></TD><TD>- .  -pc_ml_repartitionType &lt;Zoltan&gt;: Repartitioning library to use (ML_Repartition_Set_Partitioner)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_ml_repartitionZoltanScheme &lt;RCB&gt;: Repartitioning scheme to use (None)</B></TD><TD>- .  -pc_ml_Aux &lt;false&gt;: Aggregate using auxiliary coordinate-based laplacian (None)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-pc_ml_AuxThreshold &lt;0.0&gt;: Auxiliary smoother drop tol (None)</B></TD><TD>- 

</TD></TR></TABLE>
<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="../PC/PCType.html#PCType">PCType</A> (for list of available types), <A HREF="../PC/PC.html#PC">PC</A>, <A HREF="../PC/PCMGType.html#PCMGType">PCMGType</A>,
<BR><A HREF="../PC/PCMGSetLevels.html#PCMGSetLevels">PCMGSetLevels</A>(), <A HREF="../PC/PCMGGetLevels.html#PCMGGetLevels">PCMGGetLevels</A>(), <A HREF="../PC/PCMGSetType.html#PCMGSetType">PCMGSetType</A>(), MPSetCycles(), <A HREF="../PC/PCMGSetNumberSmoothDown.html#PCMGSetNumberSmoothDown">PCMGSetNumberSmoothDown</A>(),
<A HREF="../PC/PCMGSetNumberSmoothUp.html#PCMGSetNumberSmoothUp">PCMGSetNumberSmoothUp</A>(), <A HREF="../PC/PCMGGetCoarseSolve.html#PCMGGetCoarseSolve">PCMGGetCoarseSolve</A>(), <A HREF="../PC/PCMGSetResidual.html#PCMGSetResidual">PCMGSetResidual</A>(), <A HREF="../PC/PCMGSetInterpolation.html#PCMGSetInterpolation">PCMGSetInterpolation</A>(),
<A HREF="../PC/PCMGSetRestriction.html#PCMGSetRestriction">PCMGSetRestriction</A>(), <A HREF="../PC/PCMGGetSmoother.html#PCMGGetSmoother">PCMGGetSmoother</A>(), <A HREF="../PC/PCMGGetSmootherUp.html#PCMGGetSmootherUp">PCMGGetSmootherUp</A>(), <A HREF="../PC/PCMGGetSmootherDown.html#PCMGGetSmootherDown">PCMGGetSmootherDown</A>(),
<A HREF="../PC/PCMGSetCyclesOnLevel.html#PCMGSetCyclesOnLevel">PCMGSetCyclesOnLevel</A>(), <A HREF="../PC/PCMGSetRhs.html#PCMGSetRhs">PCMGSetRhs</A>(), <A HREF="../PC/PCMGSetX.html#PCMGSetX">PCMGSetX</A>(), <A HREF="../PC/PCMGSetR.html#PCMGSetR">PCMGSetR</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/ml/ml.c.html#PCML">src/ksp/pc/impls/ml/ml.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>