fipy.solvers.pysparse.linearLUSolver¶
Classes
|
The LinearLUSolver solves a linear system of equations using LU-factorization. |
- class fipy.solvers.pysparse.linearLUSolver.LinearLUSolver(tolerance='default', criterion='default', iterations=10, precon=None)¶
Bases:
PysparseSolver
The LinearLUSolver solves a linear system of equations using LU-factorization. This method solves systems with a general non-symmetric coefficient matrix using partial pivoting.
The LinearLUSolver is a wrapper class for the the Pysparse superlu.factorize() method.
Creates a LinearLUSolver.
- Parameters:
tolerance (
float
) – Required error tolerance.criterion (
{'default', 'unscaled', 'RHS', 'matrix', 'initial', 'legacy'}
) – Interpretation oftolerance
. See Convergence for more information.iterations (
int
) – Maximum number of iterative steps to perform.precon – ignored
- DEFAULT_ITERATIONS = 1000¶
Default maximum number of iterative steps to perform
- DEFAULT_PRECONDITIONER = None¶
Default preconditioner to apply to the matrix
- DEFAULT_TOLERANCE = 1e-05¶
Default tolerance for linear solves unless criterion=”legacy”
- LEGACY_TOLERANCE = 1e-10¶
Default tolerance for linear solves if criterion=”legacy”
- __repr__()¶
Return repr(self).
- property default_tolerance¶
Default tolerance for linear solve