Parameters for IDR(s) solver. More...
Public Types | |
| using | params = IDRSSolverParams |
Public Member Functions | |
| IDRSSolverParams (const PropertyTree &p) | |
| void | get (PropertyTree &p, const std::string &path) const |
Public Attributes | |
| Int32 | s = 4 |
| Dimension of the shadow space in IDR(s). | |
| double | omega = 0.7 |
| Computation of omega. | |
| bool | smoothing = false |
| Specifies if residual smoothing must be applied. | |
| bool | replacement = false |
| Residual replacement. | |
| Int32 | maxiter = 100 |
| Maximum number of iterations. | |
| double | tol = 1e-8 |
| Target relative residual error. | |
| double | abstol = std::numeric_limits<double>::min() |
| Target absolute residual error. | |
| bool | ns_search = false |
| Ignore the trivial solution x=0 when rhs is zero. | |
| bool | verbose = false |
| Verbose output (show iterations and error). | |
Parameters for IDR(s) solver.
Definition at line 54 of file IDRSSolver.h.
| using Arcane::Alina::IDRSSolverParams::params = IDRSSolverParams |
Definition at line 56 of file IDRSSolver.h.
|
inline |
Definition at line 105 of file IDRSSolver.h.
|
inline |
Definition at line 119 of file IDRSSolver.h.
| double Arcane::Alina::IDRSSolverParams::abstol = std::numeric_limits<double>::min() |
Target absolute residual error.
Definition at line 91 of file IDRSSolver.h.
| Int32 Arcane::Alina::IDRSSolverParams::maxiter = 100 |
Maximum number of iterations.
Definition at line 85 of file IDRSSolver.h.
| bool Arcane::Alina::IDRSSolverParams::ns_search = false |
Ignore the trivial solution x=0 when rhs is zero.
Useful for searching for the null-space vectors of the system.
Definition at line 98 of file IDRSSolver.h.
| double Arcane::Alina::IDRSSolverParams::omega = 0.7 |
Computation of omega.
If omega = 0: a standard minimum residual step is performed If omega > 0: omega is increased if the cosine of the angle between Ar and r < omega Default: omega = 0.7;
Definition at line 69 of file IDRSSolver.h.
| bool Arcane::Alina::IDRSSolverParams::replacement = false |
Residual replacement.
Determines the residual replacement strategy. If true, the recursively computed residual is replaced by the true residual. Default: No residual replacement.
Definition at line 82 of file IDRSSolver.h.
| Int32 Arcane::Alina::IDRSSolverParams::s = 4 |
Dimension of the shadow space in IDR(s).
Definition at line 59 of file IDRSSolver.h.
| bool Arcane::Alina::IDRSSolverParams::smoothing = false |
Specifies if residual smoothing must be applied.
Definition at line 72 of file IDRSSolver.h.
| double Arcane::Alina::IDRSSolverParams::tol = 1e-8 |
Target relative residual error.
Definition at line 88 of file IDRSSolver.h.
| bool Arcane::Alina::IDRSSolverParams::verbose = false |
Verbose output (show iterations and error).
Definition at line 101 of file IDRSSolver.h.