Skip to content

ArborX::DistributedTree::size

Andrey Prokopenko edited this page Apr 15, 2025 · 2 revisions

ArborX / Spatial indexes / ArborX::DistributedTree

ArborX::DistributedTree<MemorySpace, Value, IndexableGetter, BoundingVolume>::size()

KOKKOS_FUNCTION size_type size() const noexcept;

Returns the global number of leaves in the tree.

Parameters

(none)

Return value

The global number of leaves in the tree.

Complexity

Constant.

See also

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

Clone this wiki locally