fipy.solvers.pyAMG.linearGeneralSolver

Classes

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

The LinearGeneralSolver is an interface to the generic PyAMG, which solves the arbitrary system Ax=b with the best out-of-the box choice for a solver.

class fipy.solvers.pyAMG.linearGeneralSolver.LinearGeneralSolver(tolerance=1e-10, iterations=1000, precon=None)

Bases: _ScipySolver

The LinearGeneralSolver is an interface to the generic PyAMG, which solves the arbitrary system Ax=b with the best out-of-the box choice for a solver. See pyAMG.solve for details.

Create a Solver object.

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

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

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

__repr__()

Return repr(self).

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