Class documentation of Concepts

Loading...
Searching...
No Matches
operator02.hh
Go to the documentation of this file.
1
6#ifndef clusterOperator02_hh
7#define clusterOperator02_hh
8
12#include "operator/sparseMatrix.hh"
13#include "cluster/f.hh"
14
15namespace cluster {
16
17 // ************************************************************ Operator02 **
18
23 template<class NodeX, class NodeY>
24 class Operator02 : public concepts::Operator<typename TreeTraits<NodeX>::F> {
28 typedef typename TraitsX::F FX;
29 typedef typename TraitsY::F FY;
30
36 ClstX<NodeX>& X_;
38 ClstY<NodeY>& Y_;
41
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:
62
66 void operator()(const concepts::Vector<FY>& fncY,
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()
78 }
79
80} // namespace cluster
81
82#endif // clusterOperator02_hh
virtual const concepts::Space< F > & space() const =0
Space.
float memory() const
Memory usage in byte.
Definition operator02.hh:75
void operator()(const concepts::Function< FY > &fncY, concepts::Function< FX > &fncX)
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Operator02(concepts::BilinearForm< FX > &bf, ClstF< NodeX, NodeY > &F, ClstX< NodeX > &X, ClstY< NodeY > &Y)
Node::CF F
Field of the node (Real or Cmplx)
Definition tree.hh:255
float memory() const
Memory usage in byte.