You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
cluster
f.hh
Go to the documentation of this file.
1
6
#ifndef clusterF_hh
7
#define clusterF_hh
8
9
#include "
basics/outputOperator.hh
"
10
#include "
toolbox/scannerConnectors.hh
"
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>
42
class
ClstF
:
public
concepts::OutputOperator
{
43
public
:
45
typedef
TreeTraits<NodeX>
TraitsX
;
46
typedef
TreeTraits<NodeY>
TraitsY
;
47
typedef
typename
TraitsX::F
FX;
48
typedef
typename
TraitsY::F
FY;
49
50
typedef
Nfld<NodeX, NodeY>
NfldNodes
;
51
typedef
concepts::Scan<NfldNodes>
NfldScan
;
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
cluster::ClstF
Definition
f.hh:42
cluster::ClstF::TraitsX
TreeTraits< NodeX > TraitsX
Interface of the far field.
Definition
f.hh:45
cluster::ClstX
Definition
xy.hh:47
cluster::ClstY
Definition
xy.hh:60
cluster::Nfld
Definition
f.hh:22
cluster::TreeTraits
Definition
tree.hh:252
cluster::TreeTraits::F
Node::CF F
Field of the node (Real or Cmplx)
Definition
tree.hh:255
concepts::OutputOperator
Definition
outputOperator.hh:42
concepts::Scan
Definition
scannerConnectors.hh:29
cluster
Definition
cluster.hh:33
outputOperator.hh
scannerConnectors.hh
xy.hh
Generated on Wed Sep 13 2023 21:06:17 for Concepts by
1.9.8