Allium  0.1.0
allium::GmresSolverBase< N > Class Template Reference

Implementation of the GMRES algorithm (Saad and Schultz, 1986). More...

#include <gmres.hpp>

Inheritance diagram for allium::GmresSolverBase< N >:
Collaboration diagram for allium::GmresSolverBase< N >:

Public Types

using Number = N
 
using Real = real_part_t< N >
 
- Public Types inherited from allium::IterativeSolverBase< N >
using Number = N
 

Public Member Functions

void solve (VectorStorage< N > &result, const VectorStorage< N > &rhs, InitialGuess initial_guess)
 
int iteration_count ()
 
- Public Member Functions inherited from allium::IterativeSolverBase< N >
 IterativeSolverBase (real_part_t< N > tol=1e-8)
 
real_part_t< N > tolerance ()
 
void tolerance (real_part_t< N > t)
 

Additional Inherited Members

- Protected Member Functions inherited from allium::IterativeSolverBase< N >
virtual void apply_matrix (VectorStorage< Number > &out, const VectorStorage< Number > &in)=0
 

Detailed Description

template<typename N>
class allium::GmresSolverBase< N >

Implementation of the GMRES algorithm (Saad and Schultz, 1986).

This class should be used using the GmresSolver type.

Saad, Youcef, and Martin H. Schultz. 1986. "GMRES: A Generalized Minimal Residual Algorithm for Solving Nonsymmetric Linear Systems." SIAM J. Sci. Statist. Comput., 7 (3): 856–69. https://doi.org/10.1137/0907058.


The documentation for this class was generated from the following files: