[petsc-users] multigrid questions

Jed Brown jed at jedbrown.org
Wed Feb 15 13:34:54 CST 2017


Barry Smith <bsmith at mcs.anl.gov> writes:
>    For optimal implementation of line relaxation (assuming each
>    process is only doing sequential lines) you would write a PCSHELL
>    that looped over the "lines" for your geometry and use inside it a
>    PC created with the tridiagonal matrix for a line. 

Or (less code) assemble a Pmat that skips insertions across lines.  That
will make a bunch of tridiagonal segments on each process and a direct
solver will be trivially cheap (ILU(0) is a direct solver).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170215/0869fff4/attachment.pgp>


More information about the petsc-users mailing list