[petsc-users] Are there a set of general rules for picking preconditioners and solvers when solving a 3D Laplace's equation?
Barry Smith
bsmith at mcs.anl.gov
Mon Sep 22 18:53:06 CDT 2014
John,
For any non-trivial size problem for the Laplacian you definitely want to use multigrid. You can start by trying algebraic multigrid on both cases with
-pc_type gamg
Barry
On Sep 22, 2014, at 6:41 PM, Alletto, John M <john.m.alletto at lmco.com> wrote:
> I am solving one of the PETSc 3D Laplacian examples with a 7 point stencil of width 1 and in a separate baseline with a 13 point stencil of width 2 (a more accurate mesh).
>
> What worked fast in terms of solvers and pre-conditioner for the less accurate baseline was non-optimal (very slow) for the more accurate baseline.
>
> Are there a set of general rules for picking preconditioners and solvers when solving a 3D Laplace's equation?
>
>
> Thank you for your time
> John Alletto
More information about the petsc-users
mailing list