GetFEM  5.4.2
gmm_solver_gmres.h File Reference

GMRES (Generalized Minimum Residual) iterative solver. More...

#include "gmm_kernel.h"
#include "gmm_iter.h"
#include "gmm_modified_gram_schmidt.h"

Go to the source code of this file.

Functions

template<typename Mat , typename Vec , typename VecB , typename Precond , typename Basis >
void gmm::gmres (const Mat &A, Vec &x, const VecB &b, const Precond &M, int restart, iteration &outer, Basis &KS)
 Generalized Minimum Residual. More...
 

Detailed Description

GMRES (Generalized Minimum Residual) iterative solver.

Author
Andrew Lumsdaine lums@.nosp@m.osl..nosp@m.iu.ed.nosp@m.u
Lie-Quan Lee llee@.nosp@m.osl..nosp@m.iu.ed.nosp@m.u
Yves Renard Yves..nosp@m.Rena.nosp@m.rd@in.nosp@m.sa-l.nosp@m.yon.f.nosp@m.r
Date
October 13, 2002.

Definition in file gmm_solver_gmres.h.

Function Documentation

◆ gmres()

template<typename Mat , typename Vec , typename VecB , typename Precond , typename Basis >
void gmm::gmres ( const Mat &  A,
Vec &  x,
const VecB &  b,
const Precond &  M,
int  restart,
iteration outer,
Basis &  KS 
)

Generalized Minimum Residual.

This solve the unsymmetric linear system Ax = b using restarted GMRES.

See: Y. Saad and M. Schulter. GMRES: A generalized minimum residual algorithm for solving nonsysmmetric linear systems, SIAM J. Sci. Statist. Comp. 7(1986), pp, 856-869

Definition at line 90 of file gmm_solver_gmres.h.