rheolef  6.5
solver_abtb.h
Go to the documentation of this file.
1 #ifndef _SKIT_SOLVER_ABTB_H
2 #define _SKIT_SOLVER_ABTB_H
3 #include "rheolef/solver.h"
4 #include "rheolef/mixed_solver.h"
5 #include "rheolef/csr.h"
6 
7 namespace rheolef {
8 
54 template <class T, class M = rheo_default_memory_model>
56 public:
57 
58 
59  typedef typename csr<T,M>::size_type size_type;
60 
61 
63  solver_abtb_basic (const csr<T,M>& a, const csr<T,M>& b, const csr<T,M>& mp,
64  const solver_option_type& opt = solver_option_type());
65  solver_abtb_basic (const csr<T,M>& a, const csr<T,M>& b, const csr<T,M>& c, const csr<T,M>& mp,
66  const solver_option_type& opt = solver_option_type());
67 
68 
69  void solve (const vec<T,M>& f, const vec<T,M>& g, vec<T,M>& u, vec<T,M>& p) const;
70 
71 protected:
72  void init();
82 };
84 @endcode
85 
86 } // namespace rheolef
87 #endif // _SKIT_SOLVER_ABTB_H
88