Class documentation of Concepts

Loading...
Searching...
No Matches
cgUzawa.hh
Go to the documentation of this file.
1
7#ifndef cgUzawa_hh
8#define cgUzawa_hh
9
10#include <string>
11
12#include "basics/typedefs.hh"
15
16namespace vectorial {
17
18 using concepts::Real;
19
20 // *************************************************************** CGUzawa **
21
55 class CGUzawa : public concepts::Operator<Real> {
56 public:
71 Real maxeps, int maxit = 0, uint relres = false);
72
73 virtual void operator()(const concepts::Function<Real>& fncY,
75 void operator()(const concepts::Vector<Real>& fncY,
77
81 uint iterations() const { return it_; }
82
86 Real epsilon() const { return eps_; }
87 protected:
88 std::ostream& info(std::ostream& os) const;
89 private:
91 uint bdim_[2];
103 Real maxeps_;
105 uint maxit_;
107 Real eps_;
109 uint it_;
111 bool relres_;
112 };
113
114} // namespace vectorial
115
116#endif // cgUzawa_hh
CGUzawa(concepts::Operator< Real > &A, concepts::Operator< Real > &B, concepts::Operator< Real > &Bt, concepts::Operator< Real > &C, concepts::Operator< Real > &Ai, Real maxeps, int maxit=0, uint relres=false)
Real epsilon() const
Definition cgUzawa.hh:86
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
uint iterations() const
Definition cgUzawa.hh:81
double Real
Definition typedefs.hh:39