|
chombo-discharge
|
Outer-Krylov configuration. Defaults reproduce stand-alone multigrid (solvers == {GMG}). More...
#include <CD_EllipticSolverChain.H>
Public Member Functions | |
| bool | usesKrylov () const |
| Whether any solver in the chain is a Krylov method (and hence needs the preconditioner adapter). | |
Public Attributes | |
| Vector< SolverType > | solvers = Vector<SolverType>(1, SolverType::GMG) |
| Solvers attempted in order; the first that converges wins. E.g. {GMG, GMRES} means "try stand-alone
multigrid, fall back to GMRES if it does not converge". | |
| Real | eps = 1.E-10 |
| Relative residual tolerance. | |
| int | maxIter = 50 |
| Maximum outer iterations. | |
| int | restart = 30 |
| GMRES restart length (unused for BiCGStab). | |
| int | numVCycles = 1 |
| Number of multigrid cycles applied per preconditioner invocation. The cycle type (V/W) is deferred to the multigrid configuration via gmg_cycle; it should normally be a V-cycle for efficiency. | |
| int | verbosity = -1 |
| Outer Krylov verbosity. | |
Outer-Krylov configuration. Defaults reproduce stand-alone multigrid (solvers == {GMG}).
|
inline |
Whether any solver in the chain is a Krylov method (and hence needs the preconditioner adapter).