fipy.solvers.pyAMG.linearPCGSolver

Classes

LinearPCGSolver([tolerance, iterations, precon])

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

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

Bases: LinearPCGSolver

The LinearPCGSolver is an interface to the PCG 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.