fipy.solvers.pysparse.linearPCGSolver¶
Classes
|
The LinearPCGSolver solves a linear system of equations using the preconditioned conjugate gradient method (PCG) with symmetric successive over-relaxation (SSOR) preconditioning by default. |
- class fipy.solvers.pysparse.linearPCGSolver.LinearPCGSolver(precon=<fipy.solvers.pysparse.preconditioners.ssorPreconditioner.SsorPreconditioner object>, *args, **kwargs)¶
Bases:
PysparseSolver
The LinearPCGSolver solves a linear system of equations using the preconditioned conjugate gradient method (PCG) with symmetric successive over-relaxation (SSOR) preconditioning by default. Alternatively, Jacobi preconditioning can be specified through precon. The PCG method solves systems with a symmetric positive definite coefficient matrix.
The LinearPCGSolver is a wrapper class for the the Pysparse itsolvers.pcg() and precon.ssor() methods.
- Parameters:
precon (Preconditioner, optional) –
- __repr__()¶
Return repr(self).
Last updated on Nov 20, 2024.
Created using Sphinx 7.1.2.