Class documentation of Concepts

Loading...
Searching...
No Matches
f.hh
Go to the documentation of this file.
1
6#ifndef clusterF_hh
7#define clusterF_hh
8
11#include "cluster/xy.hh"
12
13namespace cluster {
14
15 // ****************************************************************** Nfld **
16
21 template<class NodeX, class NodeY>
22 class Nfld {
24 const NodeX* x_;
25 const NodeY* y_;
26
27 public:
28 inline Nfld() : x_(0), y_(0) {}
29 inline Nfld(const NodeX* x, const NodeY* y) : x_(x), y_(y) {}
30
31 const NodeX* clstX() const {return x_;}
32 const NodeY* clstY() const {return y_;}
33 };
34
35 // ***************************************************************** ClstF **
36
41 template<class NodeX, class NodeY>
43 public:
47 typedef typename TraitsX::F FX;
48 typedef typename TraitsY::F FY;
49
52
53 // Application operator.
54 virtual void operator()(const ClstY<NodeY>& vecY,
55 ClstX<NodeX>& vecX) const = 0;
56
57 virtual NfldScan* scan() const = 0;
58 };
59
60} // namespace cluster
61
62#endif // clusterF_hh
TreeTraits< NodeX > TraitsX
Interface of the far field.
Definition f.hh:45
Node::CF F
Field of the node (Real or Cmplx)
Definition tree.hh:255