ArborX / Spatial indexes / ArborX::DistributedTree

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

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.