Skip to content

Commit

Permalink
Specify that memory is an optional argument for some KrylovSolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Oct 17, 2024
1 parent c61359b commit 43c113c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/block_krylov_solvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The outer constructors
may be used in order to create these vectors.
`memory` is set to `div(n,p)` if the value given is larger than `div(n,p)`.
`memory` is an optional argument in the second constructor.
"""
mutable struct BlockGmresSolver{T,FC,SV,SM} <: BlockKrylovSolver{T,FC,SV,SM}
m :: Int
Expand Down
6 changes: 6 additions & 0 deletions src/krylov_solvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ The outer constructors
may be used in order to create these vectors.
`memory` is set to `n` if the value given is larger than `n`.
`memory` is an optional argument in the second constructor.
"""
mutable struct DqgmresSolver{T,FC,S} <: KrylovSolver{T,FC,S}
m :: Int
Expand Down Expand Up @@ -551,6 +552,7 @@ The outer constructors
may be used in order to create these vectors.
`memory` is set to `n` if the value given is larger than `n`.
`memory` is an optional argument in the second constructor.
"""
mutable struct DiomSolver{T,FC,S} <: KrylovSolver{T,FC,S}
m :: Int
Expand Down Expand Up @@ -1692,6 +1694,7 @@ The outer constructors
may be used in order to create these vectors.
`memory` is set to `n` if the value given is larger than `n`.
`memory` is an optional argument in the second constructor.
"""
mutable struct GmresSolver{T,FC,S} <: KrylovSolver{T,FC,S}
m :: Int
Expand Down Expand Up @@ -1746,6 +1749,7 @@ The outer constructors
may be used in order to create these vectors.
`memory` is set to `n` if the value given is larger than `n`.
`memory` is an optional argument in the second constructor.
"""
mutable struct FgmresSolver{T,FC,S} <: KrylovSolver{T,FC,S}
m :: Int
Expand Down Expand Up @@ -1800,6 +1804,7 @@ The outer constructors
may be used in order to create these vectors.
`memory` is set to `n` if the value given is larger than `n`.
`memory` is an optional argument in the second constructor.
"""
mutable struct FomSolver{T,FC,S} <: KrylovSolver{T,FC,S}
m :: Int
Expand Down Expand Up @@ -1851,6 +1856,7 @@ The outer constructors
may be used in order to create these vectors.
`memory` is set to `n + m` if the value given is larger than `n + m`.
`memory` is an optional argument in the second constructor.
"""
mutable struct GpmrSolver{T,FC,S} <: KrylovSolver{T,FC,S}
m :: Int
Expand Down

0 comments on commit 43c113c

Please sign in to comment.