Skip to content
Not built

Changes

Summary

  1. Simplify using APIv1 through APIv2 interface in BVH (details)
  2. Simplify using APIv1 through APIv2 interface in BruteForce (details)
  3. Switch simple intersection example to 2D (details)
  4. Get rid of LegacyDefaultCallback in benchmarks (details)
  5. Relax requirements on type matching (details)
  6. Minor comment improvements (details)
Commit c14a9e8a66ba3c32517cac9a16aee087a44b80fa by Andrey Prokopenko
Simplify using APIv1 through APIv2 interface in BVH

Right now, it is inconvenient to get the old behavior. One has to write
```c++
ArborX::BVH<MemorySpace, ArborX::PairValueIndex<Box>>
  tree(space, ArborX::Experimental::attach_indices(boxes));
tree.query(space, queries, ArborX::LegacyDefaultCallback{}, indices, offsets);
```
The presence of the `LegacyDefaultCallback` is really annoying.

This patch changes this. It automatically adds LegacyDefaultCallback
if the following 3 conditions are satisfied:
1. A user does not provide a callback
2. The index is constructed on PairValueIndex
2. The output value_type matches the index_type in the PairValueIndex.
The file was modified src/ArborX_LinearBVH.hpp (diff)
The file was modified src/details/ArborX_PairValueIndex.hpp (diff)
Commit 088c6c9c6dd1c38848fc0df2a9156dd26b6465b0 by Andrey Prokopenko
Simplify using APIv1 through APIv2 interface in BruteForce
The file was modified src/ArborX_BruteForce.hpp (diff)
Commit e474b9e040a2962b94aec488648b93d988096fc6 by Andrey Prokopenko
Switch simple intersection example to 2D
The file was modified examples/simple_intersection/example_intersection.cpp (diff)
Commit b257854a446ee989289881f355a413059fe531a5 by Andrey Prokopenko
Get rid of LegacyDefaultCallback in benchmarks
The file was modified benchmarks/brute_force_vs_bvh/brute_force_vs_bvh_timpl.hpp (diff)
The file was modified benchmarks/dbscan/ArborX_DBSCANVerification.hpp (diff)
Commit 92d5e96d309e569138235d96b78e5b3e709a8af5 by Andrey Prokopenko
Relax requirements on type matching
The file was modified benchmarks/brute_force_vs_bvh/brute_force_vs_bvh_timpl.hpp (diff)
The file was modified src/ArborX_BruteForce.hpp (diff)
The file was modified examples/simple_intersection/example_intersection.cpp (diff)
The file was modified benchmarks/dbscan/ArborX_DBSCANVerification.hpp (diff)
The file was modified src/ArborX_LinearBVH.hpp (diff)
Commit 9a32bf455d4c93925c86a030262d2e0cc93bfedf by Andrey Prokopenko
Minor comment improvements
The file was modified src/ArborX_LinearBVH.hpp (diff)
The file was modified src/ArborX_BruteForce.hpp (diff)