fipy.solvers.pyAMG.linearGMRESSolver

Classes

LinearGMRESSolver([tolerance, iterations, ...])

The LinearGMRESSolver is an interface to the GMRES solver in Scipy, using the PyAMG SmoothedAggregationPreconditioner by default.

class fipy.solvers.pyAMG.linearGMRESSolver.LinearGMRESSolver(tolerance=1e-15, iterations=2000, precon=<fipy.solvers.pyAMG.preconditioners.smoothedAggregationPreconditioner.SmoothedAggregationPreconditioner object>)

Bases: LinearGMRESSolver

The LinearGMRESSolver is an interface to the GMRES solver in Scipy, using the PyAMG SmoothedAggregationPreconditioner by default.

Parameters:
DEFAULT_ITERATIONS = 1000

Default maximum number of iterative steps to perform

DEFAULT_PRECONDITIONER = None

Default preconditioner to apply to the matrix

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

Last updated on Jun 26, 2024. Created using Sphinx 7.1.2.