fipy.solvers.petsc.linearCGSSolver

Classes

LinearCGSSolver([tolerance, iterations, precon])

The LinearCGSSolver is an interface to the conjugate gradient squared solver in PETSc, using no preconditioner by default.

class fipy.solvers.petsc.linearCGSSolver.LinearCGSSolver(tolerance=1e-10, iterations=1000, precon=None)

Bases: PETScKrylovSolver

The LinearCGSSolver is an interface to the conjugate gradient squared solver in PETSc, using no preconditioner by default.

Parameters:
  • tolerance: The required error tolerance.

  • iterations: The maximum number of iterative steps to perform.

  • precon: Preconditioner to use (string).

__repr__()

Return repr(self).

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