chombo-discharge
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
EllipticSolverChain::Settings Struct Reference

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< SolverTypesolvers = 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.
 

Detailed Description

Outer-Krylov configuration. Defaults reproduce stand-alone multigrid (solvers == {GMG}).

Member Function Documentation

◆ usesKrylov()

bool EllipticSolverChain::Settings::usesKrylov ( ) const
inline

Whether any solver in the chain is a Krylov method (and hence needs the preconditioner adapter).

Returns
True if the chain contains GMRES or BiCGStab.

The documentation for this struct was generated from the following file: