Expand description
Deterministic spatial indices and neighbour search.
Structs§
- Auto
Backend Profile - Tunable decisions used when
SpatialBackend::Autois requested. - Cell
Grid Options - Memory and coarsening policy for contiguous cell grids.
- Cell
List - Fixed-radius grid built in O(n) with one contiguous member array.
- Cross
Pair - A neighbour relation with indices local to each input coordinate set.
- Geometric
Base Pair - Canonical edge contacts and coplanar sugar geometry supporting a pair. This is geometric evidence; it does not report perceived hydrogen bonds.
- KdPeriodic
Options - Image-search budget for periodic k-d tree queries.
- KdTree
- A balanced static k-dimensional tree over selected atoms.
- KnnOptions
- Options for a batch nearest-neighbour query.
- KnnResult
- Row-major
(query_count, k)nearest-neighbour table. - Neighbor
List - Candidate pairs built with a displacement skin for reuse across frames.
- Neighbor
List Options - Complete construction options for a reusable neighbour list.
- Neighbor
Pair - One unique unordered atom pair within a cutoff.
- Neighbor
Skin Profile - Rule for deriving a one-shot neighbour-list skin from the query cutoff.
- Pair
Columns - A pair list split into index columns and Euclidean distances.
- Pair
Query - Everything a fixed-radius query needs, so a reduction takes three arguments.
- Periodic
Box - An invertible unit-cell basis and its inverse.
- Periodic
Image - A shortest displacement on a periodic flat torus and the chosen image.
- Spatial
Plan - Resolved, provenance-friendly decision for a spatial workload.
- Spatial
Search Options - Complete options for a one-shot spatial query.
- Structure
Spatial - A spatial resolver bound to one immutable structure snapshot.
Enums§
- Spatial
Backend - A deterministic spatial implementation choice.
- Spatial
Error - Why a spatial query could not be evaluated.
- Spatial
Option - Identifies an invalid field in a spatial planning profile.
Constants§
- NO_
NEIGHBOR - Index reported for a neighbour slot that no target filled.
Functions§
- count_
pairs_ within - Counts unique unordered pairs without storing pairs or all block results.
- cross_
pairs - Find cross-set neighbours without producing within-set pairs.
- cross_
pairs_ periodic - Cross-set pairs within
cutoff, measured through the periodic box when one is given. - for_
each_ pairs_ within_ unsorted - Visits fixed-radius pairs without requiring a result vector.
- knn_
between - Finds the
knearesttargetsof every point ofqueries. - knn_
within - Finds the
knearest target atoms of every query atom. - pairs_
within - Enumerates unique unordered pairs no further apart than
cutoff. - pairs_
within_ unsorted - Enumerates unique same-selection pairs without sorting the returned vector.
- pairs_
within_ unsorted_ with_ options - Executes a fixed-radius query without sorting identical-selection results.
- pairs_
within_ with_ options - Enumerates pairs under a complete, inspectable planning profile.
- reduce_
pairs_ within_ unsorted - Folds every fixed-radius pair into per-block accumulators.
- standard_
base_ pair_ geometry - Finds standard A–T/U and G–C pairs without a component dictionary.
- within
- Selects query atoms within
cutoffof any target atom. - within_
with_ options - Selects query atoms under a complete, inspectable planning profile.