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
-
I illustrate what must be modified to add 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
FgmresSolver
structure insrc/krylov_solvers.jl
orsrc/block_krylov_solvers.jl
export FgmresSolver
insrc/krylov_solvers.jl
orsrc/block_krylov_solvers.jl
KRYLOV_SOLVERS
/BLOCK_KRYLOV_SOLVERS
insrc/krylov_solvers.jl
orsrc/block_krylov_solvers.jl
for (KS, fun, nsol, ...)
at the end ofsrc/krylov_solvers.jl
orsrc/block_krylov_solvers.jl
solve!
andfgmres!
insrc/krylov_solve.jl
FgmresSolver
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
FgmresSolver
intest/test_solvers.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
FgmresSolver
in a note ofdocs/src/inplace.md
if the solver requires the argumentmemory
ornshifts
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