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 
13 namespace 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
const NodeY * clstY() const
Definition: f.hh:32
Nfld()
Definition: f.hh:28
TraitsY::F FY
Definition: f.hh:48
const NodeX * x_
Pointers to the clusters in the near field.
Definition: f.hh:24
Interface class for a node in a cluster tree.
Definition: tree.hh:252
virtual NfldScan * scan() const =0
Class to store a pair of clusters in the near field.
Definition: f.hh:22
An abstract class for scanning a mesh (a set of cells) or a space (a set of elements).
Node::CF F
Field of the node (Real or Cmplx)
Definition: tree.hh:255
Abstract class for a far field matrix F.
Definition: f.hh:42
TraitsX::F FX
Definition: f.hh:47
Nfld< NodeX, NodeY > NfldNodes
Definition: f.hh:50
const NodeX * clstX() const
Definition: f.hh:31
Used for the cluster classes for the boundary element method.
Definition: cebysev.hh:13
virtual void operator()(const ClstY< NodeY > &vecY, ClstX< NodeX > &vecX) const =0
const NodeY * y_
Definition: f.hh:25
TreeTraits< NodeX > TraitsX
Interface of the far field.
Definition: f.hh:45
Class providing an output operator.
TreeTraits< NodeY > TraitsY
Definition: f.hh:46
concepts::Scan< NfldNodes > NfldScan
Definition: f.hh:51
Nfld(const NodeX *x, const NodeY *y)
Definition: f.hh:29
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich