Repository navigation
API v2
#612
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
API v2 design idea
TODO
Remaining items that probably need to be addressed:
Range adaptor
Indexable getter
Callbacks
LBVH
API v1 to API v2 adaptation
v1 is equivalent to v2 with hardcoded
ValueType = intandIndexable = Box.Examples
Examples demonstrating how one would use the proposed interface in certain situations
Find all points within certain distance
Description: Given a cloud of points and a radius r, for every point find all points within distance r from it.
Applications: HACC, LAMPPS
Find a cell that point belongs to
Description: Given a mesh and a cloud of points, for every point find a mesh cell it belongs to.
Applications: DTK, ExaWind
Find k closest neighbors and distances to them
Description: Given two clouds of points, for ever point find k nearest
neighbors and compute a quantity based on values of those k points weighted by
distances.
Applications: DTK, machine learning
Force calculation
Description: Given a cloud of points, compute a force for every point. Computation of force to distant nodes is replaced by computing a force to internal nodes (that contains the center and mass of its descendants).
Applications: HACC
All reactions