|
chombo-discharge
|
Support code for using an AMR-multigrid cycle as a preconditioner for an outer Krylov solver. More...
Classes | |
| struct | FallbackPolicy |
Stateful policy for the solver fallback chain. More... | |
| class | KrylovSolver |
| Stateful owner of the outer-Krylov solver path. More... | |
| struct | Settings |
| Outer-Krylov configuration. Defaults reproduce stand-alone multigrid (solvers == {GMG}). More... | |
Enumerations | |
| enum class | SolverType { GMG , GMRES , BiCGStab } |
| Top-level solve method. More... | |
Functions | |
| SolverType | toSolverType (const std::string &a_str) |
| Map a solver-type string to the corresponding enum. | |
| std::string | solverTypeName (const SolverType a_type) |
| Human-readable name for a solver type, for diagnostic output. | |
Support code for using an AMR-multigrid cycle as a preconditioner for an outer Krylov solver.
The multigrid cycle itself (smoother, cycle type, bottom solver, BC stencils, ...) is configured by the usual gmg_* options of the host solver. The settings here control the outer Krylov wrapper.
|
strong |
|
inline |
Human-readable name for a solver type, for diagnostic output.
| [in] | a_type | KrylovSolver type. |
|
inline |
Map a solver-type string to the corresponding enum.
Pure string-to-enum conversion; the host solver is responsible for reading the input database (the Krylov module deliberately does not call ParmParse). Aborts on an unrecognised string.
| [in] | a_str | One of 'gmg', 'gmres', or 'bicgstab'. |