ArborX::DistributedTree::empty - aprokop/ArborX GitHub Wiki

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.

⚠️ **GitHub.com Fallback** ⚠️