Skip to content

ArborX::DistributedTree::size

Daniel Arndt edited this page Aug 30, 2022 · 2 revisions

ArborX / Spatial indexes / ArborX::DistributedTree

ArborX::DistributedTree<MemorySpace>::size()

KOKKOS_FUNCTION size_type size() const noexcept;

Returns the number of leaves in the tree globally.

Parameters

(none)

Return value

The number of leaves in the tree globally.

Complexity

Constant.

See also

empty : checks whether the tree is empty.
bounds : returns the bounding volume that contains all leaves.

Clone this wiki locally