linkcell documentation

August 17, 2026 ยท View on GitHub

Periodic linked-cell k-nearest neighbour search. The Rust crate is the implementation. The C ABI (lc_*) is the hourglass waist. C++ is a typed header over that ABI. Python is DLPack (dlpk) over that waist.

Tutorials

  • Two points

How-to

  • Embed from C
  • Embed from C++
  • Embed from Python
  • pkg-config / Meson / CMake

Reference

  • C API
  • Algorithm

Explanation

  • Minimum image and linked cells

Contents

  1. 1Tutorials
  2. 2How-to
  3. 3Reference
  4. 4Explanation