NiHu  2.0
NiHu::fmm::divide_num_nodes Class Reference

Class representing a cluster division based on number of nodes. More...

#include <divide.hpp>

Public Member Functions

 divide_num_nodes (size_t max_nodes)
 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_num_nodes >
NIHU_CRTP_HELPERS bool operator() (Cluster const &c) const
 

Detailed Description

Class representing a cluster division based on number of nodes.

Definition at line 74 of file divide.hpp.

Constructor & Destructor Documentation

◆ divide_num_nodes()

NiHu::fmm::divide_num_nodes::divide_num_nodes ( size_t  max_nodes)
inline

constructor

Parameters
[in]max_nodesmaximal number of nodes in a leaf cluster

Definition at line 82 of file divide.hpp.

Member Function Documentation

◆ operator()()

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

determine if a cluster needs to be divided

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

Definition at line 93 of file divide.hpp.


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