fipy.solvers.trilinos.linearCGSSolver¶
Classes
  | 
Interface to the conjugate gradient squared (CGS) solver in Trilinos  | 
- class fipy.solvers.trilinos.linearCGSSolver.LinearCGSSolver(tolerance='default', criterion='default', iterations='default', precon='default')¶
 Bases:
TrilinosAztecOOSolverInterface to the conjugate gradient squared (CGS) solver in Trilinos
Uses the
MultilevelDDPreconditionerby default.Create a Solver object.
- Parameters:
 tolerance (
float) – Required residual tolerance.criterion (
{'default', 'initial', 'unscaled', 'RHS', 'matrix', 'solution', 'preconditioned', 'natural', 'legacy'}, optional) – Interpretation oftolerance. See Convergence for more information.iterations (
int) – Maximum number of iterative steps to perform.precon (
Preconditioner) – Preconditioner to use. Not all solver suites support preconditioners.
- DEFAULT_ITERATIONS = 1000¶
 Default maximum number of iterative steps to perform
- DEFAULT_PRECONDITIONER¶
 alias of
MultilevelDDPreconditioner
- 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
        FiPy