fipy.solvers

Solving sparse linear systems

Module Attributes

DefaultSolver

Solver class for solving symmetric matrices.

DefaultAsymmetricSolver

Solver class for solving asymmetric matrices.

DummySolver

Solver used by tests that don't actually need to solve.

GeneralSolver

Solver class that should solve any matrix.

Exceptions

SerialSolverError()

fipy.solvers.DefaultAsymmetricSolver

Solver class for solving asymmetric matrices.

fipy.solvers.DefaultSolver

Solver class for solving symmetric matrices.

This solver should be both robust and performant.

fipy.solvers.DummySolver

Solver used by tests that don’t actually need to solve.

Some tests are intended to confirm the matrix building machinery, but don’t actually need to solve (and may not be able to, e.g., zeros on the diagonal).

fipy.solvers.GeneralSolver

Solver class that should solve any matrix.

exception fipy.solvers.SerialSolverError

Bases: Exception

__cause__

exception cause

__context__

exception context

__getattribute__(name, /)

Return getattr(self, name).

__reduce__()

Helper for pickle.

__repr__()

Return repr(self).

__str__()

Return str(self).

add_note(object, /)

Exception.add_note(note) – add a note to the exception

with_traceback(object, /)

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

Modules

convergence

petsc

preconditioner

pyAMG

pyamgx

scipy

solver

The iterative solvers may output warnings if the solution is considered unsatisfactory. If you are not interested in these warnings, you can invoke python with a warning filter such as::.

test

trilinos

Last updated on May 15, 2026. Created using Sphinx 9.1.0.