mirror of https://github.com/fredrikekre/HYPRE.jl
Browse Source
Settings are passed as keyword arguments, just like BoomerAMG. The
Precond argument (corresponding to PCGSetPrecond) is handled separately,
and lets you pass another solver directly, instead of the solver
pointer, the setup and solve functions, as in the SetPrecond C function.
Example:
precond = BoomerAMG(; options...)
solver = PCG(; Precond = precond, options...)
fe/copyto
5 changed files with 104 additions and 1 deletions
Loading…
Reference in new issue