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
|
<!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/PCPBJACOBI.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PCPBJACOBI</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/PCPBJACOBI.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PCPBJACOBI"><H1>PCPBJACOBI</H1></A>
Point block Jacobi preconditioner
<P>
Notes: See <A HREF="../PC/PCJACOBI.html#PCJACOBI">PCJACOBI</A> for point Jacobi preconditioning
<P>
This works for AIJ and BAIJ matrices and uses the blocksize provided to the matrix
<P>
Uses dense LU factorization with partial pivoting to invert the blocks; if a zero pivot
is detected a PETSc error is generated.
<P>
Developer Notes: This should support the <A HREF="../PC/PCSetErrorIfFailure.html#PCSetErrorIfFailure">PCSetErrorIfFailure</A>() flag set to <A HREF="../Sys/PETSC_TRUE.html#PETSC_TRUE">PETSC_TRUE</A> to allow
the factorization to continue even after a zero pivot is found resulting in a Nan and hence
terminating <A HREF="../KSP/KSP.html#KSP">KSP</A> with a KSP_DIVERGED_NANORIF allowing
a nonlinear solver/ODE integrator to recover without stopping the program as currently happens.
<P>
Developer Note: Perhaps should provide an option that allows generation of a valid preconditioner
even if a block is singular as the <A HREF="../PC/PCJACOBI.html#PCJACOBI">PCJACOBI</A> does.
<P>
<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="../PC/PCType.html#PCType">PCType</A> (for list of available types), <A HREF="../PC/PC.html#PC">PC</A>, <A HREF="../PC/PCJACOBI.html#PCJACOBI">PCJACOBI</A>
<BR>
<P>
<P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>beginner
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/ksp/pc/impls/pbjacobi/pbjacobi.c.html#PCPBJACOBI">src/ksp/pc/impls/pbjacobi/pbjacobi.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>
|