GMRES< SparseMatrixType, VectorType, PreconditionerType > Class Template Reference#

DiFfRG: DiFfRG::GMRES< SparseMatrixType, VectorType, PreconditionerType > Class Template Reference
DiFfRG
DiFfRG::GMRES< SparseMatrixType, VectorType, PreconditionerType > Class Template Reference

#include <GMRES.hh>

Inheritance diagram for DiFfRG::GMRES< SparseMatrixType, VectorType, PreconditionerType >:
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
 
PreconditionerType preconditioner
 

Constructor & Destructor Documentation

◆ GMRES()

template<typename SparseMatrixType , typename VectorType , typename PreconditionerType = dealii::PreconditionJacobi<SparseMatrixType>>
DiFfRG::GMRES< SparseMatrixType, VectorType, PreconditionerType >::GMRES ( )
inline

Member Function Documentation

◆ init()

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

◆ invert()

template<typename SparseMatrixType , typename VectorType , typename PreconditionerType = dealii::PreconditionJacobi<SparseMatrixType>>
bool DiFfRG::GMRES< SparseMatrixType, VectorType, PreconditionerType >::invert ( )
inline

◆ solve()

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

Member Data Documentation

◆ matrix

template<typename SparseMatrixType , typename VectorType , typename PreconditionerType = dealii::PreconditionJacobi<SparseMatrixType>>
const SparseMatrixType* DiFfRG::GMRES< SparseMatrixType, VectorType, PreconditionerType >::matrix
private

◆ preconditioner

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

The documentation for this class was generated from the following file:
  • /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/timestepping/linear_solver/GMRES.hh