Skip to main content

molframe_spatial/
lib.rs

1//! Deterministic spatial indices and neighbour search.
2
3#![forbid(unsafe_code)]
4
5mod backends;
6mod geometry;
7mod model;
8mod planning;
9mod queries;
10
11pub(crate) use backends::brute;
12pub(crate) use geometry::numeric;
13
14pub use backends::{CellList, KdTree, NeighborList};
15pub use geometry::{PeriodicBox, PeriodicImage};
16pub use model::{NeighborPair, SpatialBackend, SpatialError, SpatialOption};
17pub use planning::{
18    AutoBackendProfile, CellGridOptions, KdPeriodicOptions, NeighborListOptions,
19    NeighborSkinProfile, SpatialPlan, SpatialSearchOptions, StructureSpatial,
20};
21pub use queries::{
22    PairQuery, count_pairs_within, for_each_pairs_within_unsorted, pairs_within,
23    pairs_within_unsorted, pairs_within_unsorted_with_options, pairs_within_with_options,
24    reduce_pairs_within_unsorted, within, within_with_options,
25};