Class documentation of Concepts

Loading...
Searching...
No Matches
aglowav::BiClNode00< F > Class Template Reference

#include <tree.hh>

Public Types

typedef F CF
 Type of element (Real || Cmplx)
 

Public Member Functions

 BiClNode00 (const concepts::Element< F > &elm, const cluster::BBall< F > &ball, BiClNode00< F > *lft)
 
 BiClNode00 (uint idx, BiClNode00< F > &lft, BiClNode00< F > &rght, const concepts::Real3d &c, concepts::Real r, uint nleaf=0)
 
BiClNode00< F > * child (uint j) const
 j-th child of the node
 
BiClNode00< F > * lft () const
 Left child of the node.
 
BiClNode00< F > *& lft ()
 
BiClNode00< F > * rght () const
 Right child of the node.
 
const bem::Constant3d001< F > * element () const
 Element of the node.
 
const concepts::Real3dcenter () const
 Cluster center.
 
uint nleaf () const
 Number of leafs in the subtree of the node.
 
concepts::Real radius () const
 Cluster radius.
 
uint index () const
 Cluster number.
 

Friends

std::ostream & operator<< (std::ostream &os, const BiClNode00< F > &nd)
 Output.
 

Detailed Description

template<class F>
class aglowav::BiClNode00< F >

Binary node for the cluster and Haar wavelet agglomeration algorithm

Definition at line 136 of file tree.hh.

Member Typedef Documentation

◆ CF

template<class F >
typedef F aglowav::BiClNode00< F >::CF

Type of element (Real || Cmplx)

Definition at line 143 of file tree.hh.

Constructor & Destructor Documentation

◆ BiClNode00() [1/2]

template<class F >
aglowav::BiClNode00< F >::BiClNode00 ( const concepts::Element< F > &  elm,
const cluster::BBall< F > &  ball,
BiClNode00< F > *  lft 
)

Constructor 1 (for a list of leafs, next leaf = left child)

Exceptions
MissingFeature
Parameters
elmElement
ballBounding ball for a element
chldlftLeft child (-> degenerate tree, list, only left child used)

◆ BiClNode00() [2/2]

template<class F >
aglowav::BiClNode00< F >::BiClNode00 ( uint  idx,
BiClNode00< F > &  lft,
BiClNode00< F > &  rght,
const concepts::Real3d c,
concepts::Real  r,
uint  nleaf = 0 
)

Constructor 2 (new node, no leaf)

Parameters
idxNode number
chldlftLeft child
chldrghtRight child
cCluster center
rCluster radius
nleafNumber of leafs

Member Function Documentation

◆ center()

template<class F >
const concepts::Real3d & aglowav::BiClNode00< F >::center ( ) const
inline

Cluster center.

Definition at line 175 of file tree.hh.

◆ child()

template<class F >
BiClNode00< F > * aglowav::BiClNode00< F >::child ( uint  j) const
inline

j-th child of the node

Definition at line 205 of file tree.hh.

◆ element()

template<class F >
const bem::Constant3d001< F > * aglowav::BiClNode00< F >::element ( ) const
inline

Element of the node.

Definition at line 210 of file tree.hh.

◆ index()

template<class F >
uint aglowav::BiClNode00< F >::index ( ) const
inline

Cluster number.

Definition at line 181 of file tree.hh.

◆ lft() [1/2]

template<class F >
BiClNode00< F > *& aglowav::BiClNode00< F >::lft ( )
inline

Definition at line 169 of file tree.hh.

◆ lft() [2/2]

template<class F >
BiClNode00< F > * aglowav::BiClNode00< F >::lft ( ) const
inline

Left child of the node.

Definition at line 168 of file tree.hh.

◆ nleaf()

template<class F >
uint aglowav::BiClNode00< F >::nleaf ( ) const
inline

Number of leafs in the subtree of the node.

Definition at line 177 of file tree.hh.

◆ radius()

template<class F >
concepts::Real aglowav::BiClNode00< F >::radius ( ) const
inline

Cluster radius.

Definition at line 179 of file tree.hh.

◆ rght()

template<class F >
BiClNode00< F > * aglowav::BiClNode00< F >::rght ( ) const
inline

Right child of the node.

Definition at line 171 of file tree.hh.

Friends And Related Symbol Documentation

◆ operator<<

template<class F >
std::ostream & operator<< ( std::ostream &  os,
const BiClNode00< F > &  nd 
)
friend

Output.

Definition at line 127 of file tree.hh.


The documentation for this class was generated from the following file: