00001 00010 #ifndef TBCI_SOLVER_NOPRECOND_H 00011 #define TBCI_SOLVER_NOPRECOND_H 00012 00013 #include "precond.h" 00014 00015 NAMESPACE_TBCI 00016 00021 template <typename T, typename MatrixType = BdMatrix<T> > 00022 class NoPreconditioner : public Preconditioner_Sig<T, MatrixType > 00023 { 00024 public: 00025 NoPreconditioner () {} 00026 NoPreconditioner (const MatrixType& A) {} 00027 ~NoPreconditioner () {} 00028 00029 // update-Funktion 00030 void update (const MatrixType &A) {} 00031 00032 // Solve-Funktionen 00033 /*template <typename T>*/ inline TVector<T> solve (const Vector<T> &v) const 00034 { TVector<T> tv(v); return tv; } 00035 /*template <typename T>*/ inline TVector<T> solve (TVector<T> tv) const { return tv; } 00036 00037 /*template <typename T>*/ inline TVector<T> transSolve (const Vector<T> &v) const 00038 { TVector<T> tv(v); return tv; } 00039 /*template <typename T>*/ inline TVector<T> transSolve ( TVector<T> tv) const 00040 { return tv; } 00041 }; 00042 00043 00044 NAMESPACE_END 00045 00046 #endif /* TBCI_SOLVER_NOPRECOND_H */
1.5.6