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/PCMGalerkinType.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PCMGalerkinType</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/PC/PCMGalerkinType.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PCMGalerkinType"><H1>PCMGalerkinType</H1></A>
Determines if the coarse grid operators are computed via the Galerkin process
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
typedef enum { <A HREF="../PC/PCMGalerkinType.html#PCMGalerkinType">PC_MG_GALERKIN_BOTH</A>,<A HREF="../PC/PCMGalerkinType.html#PCMGalerkinType">PC_MG_GALERKIN_PMAT</A>,<A HREF="../PC/PCMGalerkinType.html#PCMGalerkinType">PC_MG_GALERKIN_MAT</A>, <A HREF="../PC/PCMGalerkinType.html#PCMGalerkinType">PC_MG_GALERKIN_NONE</A>, <A HREF="../PC/PCMGalerkinType.html#PCMGalerkinType">PC_MG_GALERKIN_EXTERNAL</A>} PCMGGalerkinType;
</PRE>
<P>
<H3><FONT COLOR="#CC3333">Values</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B><A HREF="../PC/PCMGalerkinType.html#PCMGalerkinType">PC_MG_GALERKIN_PMAT</A> </B></TD><TD>- computes the pmat (matrix from which the preconditioner is built) via the Galerkin process from the finest grid
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B><A HREF="../PC/PCMGalerkinType.html#PCMGalerkinType">PC_MG_GALERKIN_MAT</A> </B></TD><TD>- computes the mat (matrix used to apply the operator) via the Galerkin process from the finest grid
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B><A HREF="../PC/PCMGalerkinType.html#PCMGalerkinType">PC_MG_GALERKIN_BOTH</A> </B></TD><TD>- computes both the mat and pmat via the Galerkin process (if pmat == mat the construction is only done once
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B><A HREF="../PC/PCMGalerkinType.html#PCMGalerkinType">PC_MG_GALERKIN_NONE</A> </B></TD><TD>- neither operator is computed via the Galerkin process, the user must provide the operator
</TD></TR></TABLE>
<P>
Users should never set <A HREF="../PC/PCMGalerkinType.html#PCMGalerkinType">PC_MG_GALERKIN_EXTERNAL</A>, it is used by GAMG and ML
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../PC/PCMGSetCycleType.html#PCMGSetCycleType">PCMGSetCycleType</A>()
<BR>
<P>
<P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>beginner<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/ksp/pc/../../../include/petscpctypes.h.html#PCMGalerkinType">src/ksp/pc/../../../include/petscpctypes.h</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/ksp/ksp/tutorials/ex42.c.html">src/ksp/ksp/tutorials/ex42.c.html</A><BR>
<A HREF="../../../src/ksp/ksp/tutorials/ex70.c.html">src/ksp/ksp/tutorials/ex70.c.html</A><BR>
<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>
|