fipy.solvers.pyamgx.linearCGSolver

Classes

LinearCGSolver([tolerance, iterations, precon])

The LinearCGSolver is an interface to the PCG solver in AMGX, with no preconditioning by default.

LinearPCGSolver

alias of LinearCGSolver

class fipy.solvers.pyamgx.linearCGSolver.LinearCGSolver(tolerance=1e-10, iterations=2000, precon={'max_iters': 1, 'solver': 'BLOCK_JACOBI'}, **kwargs)

Bases: PyAMGXSolver

The LinearCGSolver is an interface to the PCG solver in AMGX, with no preconditioning by default.

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

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

  • precon (Preconditioner, optional) –

  • **kwargs – Other AMGX solver options

__repr__()

Return repr(self).

fipy.solvers.pyamgx.linearCGSolver.LinearPCGSolver

alias of LinearCGSolver

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