Expand description
Auto-generated module
🤖 Generated with SplitRS
Functions§
- compute_
bounding_ box - Compute the bounding box of a set of positions.
- distribute_
cells_ to_ gpus - Distribute
n_cellscells evenly acrossn_gpusGPUs. - gpu_
neighbor_ search_ kernel - Return all particle pairs
(i, j)withi < janddist(i, j) < cutoff. - gpu_
prefix_ sum - Exclusive prefix sum (scan) of
counts. - insert_
particles - Insert particles into an existing cell list without a full rebuild.
- morton_
decode - Decode a 30-bit Morton code back to 3D integer coordinates.
- morton_
encode - Compute a 30-bit Morton code from 3D integer coordinates.
- morton_
sort - Compute Morton codes for a set of positions and sort indices by Morton code.
- parallel_
count_ particles - Count how many particles fall into each cell of a regular grid.
- parallel_
morton_ sort - Sort particle indices by Morton code using Rayon for parallel code generation.
- parallel_
prefix_ sum - Compute an exclusive prefix sum (scan) over
counts. - position_
to_ morton - Compute the 30-bit Morton code for a position relative to a bounding box.
- query_
neighbors - Query all particles within
radiusofquery_posfrom a set of positions, using a pre-builtGpuCellList. - radix_
sort_ mock - Mock radix sort: stable sort of
keysreturning(sorted_keys, sorted_indices). - reorder_
by_ permutation - Reorder an array according to a permutation.