fipy.solvers.pyAMG.linearCGSSolver

Classes

LinearCGSSolver([tolerance, iterations, precon])

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

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

Bases: LinearCGSSolver

The LinearCGSSolver is an interface to the CGS 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.