Skip to main content

molframe_spatial/
lib.rs

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