Skip to content

ArborX::DistributedTree::empty

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

ArborX / Spatial indexes / ArborX::DistributedTree

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

KOKKOS_FUNCTION bool empty() const noexcept;

Checks if the global tree has no leaves on all ranks.

Parameters

(none)

Return value

true if the global tree is empty, false otherwise.

Complexity

Constant.

See also

size : returns the number of leaves on all ranks.

Clone this wiki locally