TBCI Numerical high perf. C++ Library  2.8.0
noprecond.h
Go to the documentation of this file.
1 
10 #ifndef TBCI_SOLVER_NOPRECOND_H
11 #define TBCI_SOLVER_NOPRECOND_H
12 
13 #include "tbci/solver/precond.h"
14 
16 
21 template <typename T, typename MatrixType = BdMatrix<T> >
22 class NoPreconditioner : public Preconditioner_Sig<T, MatrixType >
23 {
24 public:
28 
29  // update-Funktion
30  void update (const MatrixType &A) {}
31 
32  // Solve-Funktionen
33  /*template <typename T>*/ inline TVector<T> solve (const Vector<T> &v) const
34  { TVector<T> tv(v); return tv; }
35  /*template <typename T>*/ inline TVector<T> solve (TVector<T> tv) const { return tv; }
36 
37  /*template <typename T>*/ inline TVector<T> transSolve (const Vector<T> &v) const
38  { TVector<T> tv(v); return tv; }
39  /*template <typename T>*/ inline TVector<T> transSolve ( TVector<T> tv) const
40  { return tv; }
41 };
42 
43 
45 
46 #endif /* TBCI_SOLVER_NOPRECOND_H */
TVector< T > solve(TVector< T > tv) const
Definition: noprecond.h:35
NoPreconditioner(const MatrixType &A)
Definition: noprecond.h:26
void update(const MatrixType &A)
Definition: noprecond.h:30
Abstract base class for all Preconditioners.
Definition: precond.h:40
#define NAMESPACE_TBCI
Definition: basics.h:317
TVector< T > transSolve(TVector< T > tv) const
Definition: noprecond.h:39
TVector< T > solve(const Vector< T > &v) const
Definition: noprecond.h:33
#define MatrixType
TVector< T > transSolve(const Vector< T > &v) const
Definition: noprecond.h:37
Temporary Base Class Idiom: Class TVector is used for temporary variables.
Definition: bvector.h:52
#define NAMESPACE_END
Definition: basics.h:323
Definition: bvector.h:54
const Vector< T > Vector< T > Vector< T > Vector< T > Vector< T > Vector< T > Vector< T > Vector< T > long int int char v
&lt; find minimun of func on grid with resolution res
Definition: LM_fit.h:205