fipy.solvers.scipy.linearBicgstabSolver

Classes

LinearBicgstabSolver([tolerance, ...])

The LinearBicgstabSolver is an interface to the Bicgstab solver in Scipy, with no preconditioning by default.

class fipy.solvers.scipy.linearBicgstabSolver.LinearBicgstabSolver(tolerance='default', absolute_tolerance=0.0, criterion='default', iterations='default', precon='default')

Bases: ScipyKrylovSolver

The LinearBicgstabSolver is an interface to the Bicgstab solver in Scipy, with no preconditioning by default.

Create a Solver object.

Parameters:
  • tolerance (float) – Required relative error tolerance.

  • absolute_tolerance (float) – Required absolute error tolerance.

  • criterion ({'default', 'unscaled', 'RHS', 'matrix', 'initial', 'legacy', }) – Interpretation of tolerance. See Convergence for more information.

  • iterations (int) – Maximum number of iterative steps to perform.

  • precon – Preconditioner to use. Not all solver suites support preconditioners.

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.