Skip to content

ArborX::DistributedTree::empty

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

ArborX / Spatial indexes / ArborX::DistributedTree

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

KOKKOS_FUNCTION bool empty() const noexcept;

Checks if the global tree has no leaves.

Parameters

(none)

Return value

true if the global tree is empty, false otherwise.

Complexity

Constant.

See also

size : returns the number of leaves.

Clone this wiki locally