NiHu  2.0
NiHu::fmm::divide_depth Class Reference

Class representing a balanced tree division predicate. More...

#include <divide.hpp>

Public Member Functions

 divide_depth (size_t depth)
 Constructor. More...
 
template<class Cluster >
bool operator() (Cluster const &c) const
 Determine if a cluster needs to be divided. More...
 
- Public Member Functions inherited from NiHu::fmm::divide_base< divide_depth >
NIHU_CRTP_HELPERS bool operator() (Cluster const &c) const
 

Detailed Description

Class representing a balanced tree division predicate.

Definition at line 41 of file divide.hpp.

Constructor & Destructor Documentation

◆ divide_depth()

NiHu::fmm::divide_depth::divide_depth ( size_t  depth)
inline

Constructor.

Parameters
[in]depthMaximal depth of the tree

Definition at line 55 of file divide.hpp.

Member Function Documentation

◆ operator()()

template<class Cluster >
bool NiHu::fmm::divide_depth::operator() ( Cluster const &  c) const
inline

Determine if a cluster needs to be divided.

Template Parameters
ClusterCluster type
Parameters
[in]cThe cluster to divide
Returns
true if the cluster needs to be divided

Definition at line 67 of file divide.hpp.


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