DiFfRG
Loading...
Searching...
No Matches
DiFfRG::GMRES< SparseMatrixType, VectorType > Class Template Reference

#include <GMRES.hh>

Inheritance diagram for DiFfRG::GMRES< SparseMatrixType, VectorType >:
DiFfRG::AbstractLinearSolver< SparseMatrixType, VectorType >

Public Member Functions

 GMRES ()
 
void init (const SparseMatrixType &matrix)
 
bool invert ()
 
int solve (const VectorType &src, VectorType &dst, const double tol)
 
- Public Member Functions inherited from DiFfRG::AbstractLinearSolver< SparseMatrixType, VectorType >
 AbstractLinearSolver ()
 
void init (const SparseMatrixType &matrix)
 
bool invert ()
 
int solve (const VectorType &src, const VectorType &dst, const double tol)
 

Private Attributes

const SparseMatrixType * matrix
 
dealii::PreconditionJacobi< SparseMatrixType > preconditioner
 

Constructor & Destructor Documentation

◆ GMRES()

template<typename SparseMatrixType , typename VectorType >
DiFfRG::GMRES< SparseMatrixType, VectorType >::GMRES ( )
inline

Member Function Documentation

◆ init()

template<typename SparseMatrixType , typename VectorType >
void DiFfRG::GMRES< SparseMatrixType, VectorType >::init ( const SparseMatrixType & matrix)
inline

◆ invert()

template<typename SparseMatrixType , typename VectorType >
bool DiFfRG::GMRES< SparseMatrixType, VectorType >::invert ( )
inline

◆ solve()

template<typename SparseMatrixType , typename VectorType >
int DiFfRG::GMRES< SparseMatrixType, VectorType >::solve ( const VectorType & src,
VectorType & dst,
const double tol )
inline

Member Data Documentation

◆ matrix

template<typename SparseMatrixType , typename VectorType >
const SparseMatrixType* DiFfRG::GMRES< SparseMatrixType, VectorType >::matrix
private

◆ preconditioner

template<typename SparseMatrixType , typename VectorType >
dealii::PreconditionJacobi<SparseMatrixType> DiFfRG::GMRES< SparseMatrixType, VectorType >::preconditioner
private

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