11 #ifndef TBCI_SOLVER_PRECOND_H 12 #define TBCI_SOLVER_PRECOND_H 14 #include "tbci/basics.h" 15 #include "tbci/vector.h" 16 #include "tbci/matrix_sig.h" 17 #if !defined(NO_GD) && !defined(AUTO_DECL) 18 # include "precond_gd.h" 23 template <
typename T>
class BdMatrix;
39 template <
typename T,
typename MatrixType = BdMatrix<T> >
Abstract base class for all Preconditioners.
The class BdMatrix is an implementation to store and do operations on sparse Matrices with a band str...
virtual TVector< T > transSolve(const Vector< T > &) const =0
virtual void update(const MatrixType &)=0
virtual ~Preconditioner_Sig()
Temporary Base Class Idiom: Class TVector is used for temporary variables.
virtual TVector< T > solve(const Vector< T > &) const =0