You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
vectorial
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
"
13
#include "
operator/compositions.hh
"
14
#include "
vectorial/vectorial.hh
"
15
16
namespace
vectorial
{
17
18
using
concepts::Real
;
19
20
// *************************************************************** CGUzawa **
21
55
class
CGUzawa
:
public
concepts::Operator
<Real> {
56
public
:
68
CGUzawa
(
concepts::Operator<Real>
& A,
concepts::Operator<Real>
& B,
69
concepts::Operator<Real>
& Bt,
concepts::Operator<Real>
& C,
70
concepts::Operator<Real>
& Ai,
71
Real maxeps,
int
maxit = 0, uint relres =
false
);
72
73
virtual
void
operator()
(
const
concepts::Function<Real>
& fncY,
74
concepts::Function<Real>
& fncX);
75
void
operator()
(
const
concepts::Vector<Real>
& fncY,
76
concepts::Vector<Real>
& fncX);
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];
93
concepts::Operator<Real>
& A_;
95
concepts::Operator<Real>
& B_;
97
concepts::Operator<Real>
& Bt_;
99
concepts::Operator<Real>
& C_;
101
concepts::Operator<Real>
& Ai_;
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
concepts::Function
Definition
basis.hh:21
concepts::Operator
Definition
compositions.hh:42
concepts::Operator< Real >::operator()
virtual void operator()()
concepts::Vector
Definition
vector.hh:39
vectorial::CGUzawa
Definition
cgUzawa.hh:55
vectorial::CGUzawa::CGUzawa
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)
vectorial::CGUzawa::epsilon
Real epsilon() const
Definition
cgUzawa.hh:86
vectorial::CGUzawa::info
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
vectorial::CGUzawa::iterations
uint iterations() const
Definition
cgUzawa.hh:81
compositions.hh
concepts::Real
double Real
Definition
typedefs.hh:39
vectorial
Definition
spaceTraits.hh:24
typedefs.hh
vectorial.hh
Generated on Wed Sep 13 2023 21:06:25 for Concepts by
1.9.8