fipy.solvers.pyamgx.linearFGMRESSolver¶
Classes
|
The LinearFGMRESSolver is an interface to the FGMRES solver in AMGX, with a Jacobi preconditioner by default. |
- class fipy.solvers.pyamgx.linearFGMRESSolver.LinearFGMRESSolver(tolerance='default', criterion='default', iterations='default', precon='default', smoother='default', **kwargs)¶
Bases:
PyAMGXSolver
The LinearFGMRESSolver is an interface to the FGMRES solver in AMGX, with a Jacobi preconditioner by default.
- Parameters:
tolerance (
float
) – Required error tolerance.criterion (
{'default', 'unscaled', 'RHS', 'matrix', 'initial', 'legacy'}
) – Interpretation oftolerance
. See Convergence for more information.iterations (
int
) – Maximum number of iterative steps to perform.precon (
PyAMGXPreconditioner
, optional) –smoother (
Smoother
, optional) –**kwargs – Other AMGX solver options
- DEFAULT_ITERATIONS = 1000¶
Default maximum number of iterative steps to perform
- DEFAULT_PRECONDITIONER¶
alias of
JacobiPreconditioner
- DEFAULT_SMOOTHER = None¶
Default smoother to apply to the ???
- DEFAULT_TOLERANCE = 1e-05¶
Default tolerance for linear solves unless criterion=”legacy”
- LEGACY_TOLERANCE = 1e-10¶
Default tolerance for linear solves if criterion=”legacy”
- __repr__()¶
Return repr(self).
- property default_tolerance¶
Default tolerance for linear solve