Class documentation of Concepts

Loading...
Searching...
No Matches
bramblePasciak.hh
Go to the documentation of this file.
1
7#ifndef bramblePasciak_hh
8#define bramblePasciak_hh
9
10#include <string>
11
12#include "basics/typedefs.hh"
14#include "vectorial.hh"
15
16namespace vectorial {
17
18 using concepts::Real;
19
20 // ******************************************************** BramblePasciak **
21
54 class BramblePasciak : public concepts::Operator<Real> {
55 public:
70 Real maxeps, int maxit = 0, uint relres = false);
71
72 virtual void operator()(const concepts::Function<Real>& fncY,
74 void operator()(const concepts::Vector<Real>& fncY,
76
80 uint iterations() const { return it_; }
81
85 Real epsilon() const { return eps_; }
86 protected:
87 std::ostream& info(std::ostream& os) const;
88 private:
90 uint bdim_[2];
102 Real maxeps_;
104 uint maxit_;
106 Real eps_;
108 uint it_;
110 bool relres_;
111 };
112
113} // namespace vectorial
114
115#endif // bramblePasciak_hh
BramblePasciak(concepts::Operator< Real > &A, concepts::Operator< Real > &B, concepts::Operator< Real > &Bt, concepts::Operator< Real > &C, concepts::Operator< Real > &W, Real maxeps, int maxit=0, uint relres=false)
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
double Real
Definition typedefs.hh:39