You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
cluster
operator02.hh
Go to the documentation of this file.
1
6
#ifndef clusterOperator02_hh
7
#define clusterOperator02_hh
8
9
#include "
basics/exceptions.hh
"
10
#include "
operator/bilinearForm.hh
"
11
#include "
operator/compositions.hh
"
12
#include "operator/sparseMatrix.hh"
13
#include "
cluster/f.hh
"
14
15
namespace
cluster
{
16
17
// ************************************************************ Operator02 **
18
23
template
<
class
NodeX,
class
NodeY>
24
class
Operator02
:
public
concepts::Operator
<typename TreeTraits<NodeX>::F> {
26
typedef
TreeTraits<NodeX>
TraitsX
;
27
typedef
TreeTraits<NodeY>
TraitsY
;
28
typedef
typename
TraitsX::F
FX;
29
typedef
typename
TraitsY::F
FY;
30
32
concepts::BilinearForm<FX>
& bf_;
34
ClstF<NodeX,NodeY>
& F_;
36
ClstX<NodeX>
& X_;
38
ClstY<NodeY>
& Y_;
40
concepts::SparseMatrix<FX>
N_;
41
43
concepts::ElementMatrix<FX>
A_;
44
concepts::ElementMatrix<FX>
B_;
45
47
void
constructor_(
const
NodeX* X,
const
NodeY* Y);
48
void
constructor_(
const
concepts::Element<FX>
* elmX,
const
NodeY* Y);
49
50
protected
:
51
std::ostream&
info
(std::ostream& os)
const
;
52
53
public
:
60
Operator02
(
concepts::BilinearForm<FX>
& bf,
ClstF<NodeX, NodeY>
& F,
61
ClstX<NodeX>
& X,
ClstY<NodeY>
& Y);
62
64
void
operator()
(
const
concepts::Function<FY>
& fncY,
65
concepts::Function<FX>
& fncX);
66
void
operator()
(
const
concepts::Vector<FY>
& fncY,
67
concepts::Vector<FX>
& fncX);
69
inline
float
memory
()
const
;
70
inline
const
concepts::Space<FX>
& spaceX()
const
{
return
X_.
space
();}
71
inline
const
concepts::Space<FY>
& spaceY()
const
{
return
Y_.
space
();}
72
};
73
74
template
<
class
NodeX,
class
NodeY>
75
inline
float
Operator02<NodeX, NodeY>::memory
()
const
{
76
return
sizeof
(
Operator02<NodeX, NodeY>
) + N_.
memory
()
77
-
sizeof
(
concepts::SparseMatrix<FX>
);
78
}
79
80
}
// namespace cluster
81
82
#endif
// clusterOperator02_hh
exceptions.hh
cluster::ClstF
Definition
f.hh:42
cluster::ClstXY::space
virtual const concepts::Space< F > & space() const =0
Space.
cluster::ClstX
Definition
xy.hh:47
cluster::ClstY
Definition
xy.hh:60
cluster::Operator02
Definition
operator02.hh:24
cluster::Operator02::memory
float memory() const
Memory usage in byte.
Definition
operator02.hh:75
cluster::Operator02::operator()
void operator()(const concepts::Function< FY > &fncY, concepts::Function< FX > &fncX)
cluster::Operator02::info
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
cluster::Operator02::Operator02
Operator02(concepts::BilinearForm< FX > &bf, ClstF< NodeX, NodeY > &F, ClstX< NodeX > &X, ClstY< NodeY > &Y)
cluster::TreeTraits
Definition
tree.hh:252
cluster::TreeTraits::F
Node::CF F
Field of the node (Real or Cmplx)
Definition
tree.hh:255
concepts::BilinearForm
Definition
bilinearForm.hh:33
concepts::ElementMatrix
Definition
element.hh:206
concepts::Element
Definition
element.hh:52
concepts::Function
Definition
basis.hh:21
concepts::Operator
Definition
compositions.hh:42
concepts::Operator< TreeTraits< NodeX >::F >::operator()
virtual void operator()()
concepts::Space
Definition
space.hh:44
concepts::SparseMatrix
Definition
sparseMatrix.hh:65
concepts::SparseMatrix::memory
float memory() const
Memory usage in byte.
Definition
sparseMatrix.hh:435
concepts::Vector
Definition
vector.hh:39
compositions.hh
f.hh
cluster
Definition
cluster.hh:33
bilinearForm.hh
Generated on Wed Sep 13 2023 21:06:17 for Concepts by
1.9.8