iterative solvers for linear equations, in particular Krylov subspace methods More...
Functions | |
| void | gmres (Linear_equation &equation, int n_restart, int n_iters) |
| solves a linear equation approximately with GMRES | |
| void | bicgstab (Linear_equation &equation, int n_iters) |
| solves a linear equation approximately with BiCGStab | |
iterative solvers for linear equations, in particular Krylov subspace methods
| void hexed::iterative::bicgstab | ( | Linear_equation & | equation, |
| int | n_iters ) |
solves a linear equation approximately with BiCGStab
Runs n_iters iterations. Requires the Linear_equation object to storage for at least 8 vectors.
| void hexed::iterative::gmres | ( | Linear_equation & | equation, |
| int | n_restart, | ||
| int | n_iters ) |
solves a linear equation approximately with GMRES
GMRES is restarted every n_restart iterations. A total of n_iters restarts are performed, requiring approximately n_restart*n_iters matrix-vector products. Requires the Linear_equation object to have storage for at least n_restart + 3 vectors.