Template Function exafmm_t::build_tree(Body<T> *, Body<T> *, int, int, Body<T> *, Body<T> *, int, int, Node<T> *, Nodes<T>&, NodePtrs<T>&, NodePtrs<T>&, const Keys&, FmmBase<T>&, bool)

Function Documentation

template<typename T>
void exafmm_t::build_tree(Body<T> *sources, Body<T> *sources_buffer, int source_begin, int source_end, Body<T> *targets, Body<T> *targets_buffer, int target_begin, int target_end, Node<T> *node, Nodes<T> &nodes, NodePtrs<T> &leafs, NodePtrs<T> &nonleafs, const Keys &leafkeys, FmmBase<T> &fmm, bool direction = false)

Build nodes of tree adaptively using a top-down approach based on recursion.