[petsc-users] solving multiple linear systems with same matrix (sequentially, not simultaneously)

Jed Brown jed at jedbrown.org
Sun Feb 22 20:11:49 CST 2015


Barry Smith <bsmith at mcs.anl.gov> writes:
>> I will try gamg as I know it can reduce the number of CG iterations required. (I'm guessing you mean algebraic, not geometric?)
>
> By default GAMG is an algebraic multigrid preconditioner. Look at its documentation at http://www.mcs.anl.gov/petsc/petsc-master/docs/index.html it will be a bit better than the older documentation. The documentation for GAMG is still pretty thin so feel free to ask questions.

You might want to call MatSetBlockSize and MatSetNearNullSpace to define
both translation and rotation modes.  This is most relevant for large
ice shelves.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150222/eaecea85/attachment.pgp>


More information about the petsc-users mailing list