fipy.solvers.petsc.linearPCGSolver

Classes

LinearPCGSolver([tolerance, iterations, precon])

The LinearPCGSolver is an interface to the cg solver in PETSc, using no preconditioner by default.

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

Bases: PETScKrylovSolver

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