![]() |
#include <LinearSolver.h>
Inheritance diagram for dolfin::LinearSolver:
Protected Member Functions | |
void | check (const Matrix &A, Vector &x, const Vector &b) const |
Check data for linear system. | |
real | residual (const Matrix &A, Vector &x, const Vector &b) const |
Compute l2-norm of residual. | |
void | iterate (const Matrix &A, Vector &x, const Vector &b, real tol, unsigned int maxiter) |
virtual void | iteration (const Matrix &A, Vector &x, const Vector &b) |
Perform one iteration on the linear system. |
A linear solver solves (approximately) a linear system Ax = b for a given right-hand side b.
|
Check data for linear system.
|
|
Iterative solution of the linear system. The virtual function iteration() is called in each iteration and should be implemented by a subclass making use of this function. |
|
Perform one iteration on the linear system.
|
|
Compute l2-norm of residual.
|
Documentation automatically generated with Doxygen on 10 Sep 2004.