How to add a new Krylov method in Krylov.jl? #635
amontoison
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I illustrate what must be modified to add a new Krylov method in Krylov.jl with
FGMRES
:fgmres.jl
in the foldersrc
include("fgmres.jl")
insrc/Krylov.jl
test_fgmres.jl
in the foldertest
include("test_fgmres.jl")
intest/runtests.jl
FgmresWorkspace
insrc/krylov_workspaces.jl
orsrc/block_krylov_workspaces.jl
export FgmresWorkspace
insrc/krylov_workspaces.jl
orsrc/block_krylov_workspaces.jl
for (KS, fun, nsol, ...)
insrc/workspace_accessors.jl
krylov_workspace
,krylov_solve
,krylov_solve!
andfgmres!
insrc/interface.jl
FgmresWorkspace
indocs/src/api.md
(section Solver Types)@docs fgmres fgmres!
in the most relevant markdown file ofdocs/src/solvers
orblock_krylov.md
FGMRES
intest/test_allocations.jl
:fgmres
intest/test_mp.jl
FgmresWorkspace
intest/test_interface.jl
FGMRES
intest/test_warm_start.jl
(if it's supported)FGMRES
intest/test_verbose.jl
FGMRES
indocs/src/preconditioners.md
FGMRES
indocs/src/processes.md
FGMRES
indocs/src/matrix_free.md
FGMRES
indocs/src/storage.md
fgmres.md
in the folderdocs/src/examples
and updatedocs/make.jl
FgmresWorkspace
in a note ofdocs/src/inplace.md
if the solver requires the argumentnshifts
If you also need to add a new
KrylovStats
:XyzStats
insrc/krylov_stats.jl
XyzStats
indocs/src/api.md
(section Stats Types)XyzStats
intest/test_stats.jl
Beta Was this translation helpful? Give feedback.
All reactions