#include <tree.hh>
Public Types | |
typedef F | CF |
Typedef used for interface (trait) of the cluster tree. | |
Public Member Functions | |
Cluster (const concepts::Element< F > &elm, const BBall< F > &ball, Cluster< F > *lnk) | |
Cluster (uint idx, Cluster< F > &chld, const concepts::Real3d &c, concepts::Real r, uint nlf=0) | |
Cluster< F > * | child (uint j) const |
j-th child of the cluster if the cluster is not a leaf | |
Cluster< F > * | child () const |
First child of the cluster if the cluster is not a leaf. | |
Cluster< F > * | link () const |
Neighbouring cluster. | |
Cluster< F > *& | link () |
const concepts::Element< F > * | element () const |
Returns element if the cluster is a leaf. | |
const concepts::Real3d & | center () const |
Center of the cluster. | |
concepts::Real | radius () const |
Radius of the cluster. | |
uint | nleaf () const |
Number of leafs of the cluster. | |
uint | index () const |
Index (number) of the cluster. | |
std::ostream & | info (std::ostream &os) const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Cluster< F > &clst) |
Node of a cluster tree
F | Field (Real or Cmplx) |
typedef F cluster::Cluster< F >::CF |
cluster::Cluster< F >::Cluster | ( | const concepts::Element< F > & | elm, |
const BBall< F > & | ball, | ||
Cluster< F > * | lnk | ||
) |
cluster::Cluster< F >::Cluster | ( | uint | idx, |
Cluster< F > & | chld, | ||
const concepts::Real3d & | c, | ||
concepts::Real | r, | ||
uint | nlf = 0 |
||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::ostream & cluster::Cluster< F >::info | ( | std::ostream & | os | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |