molframe_core/chunk/mod.rs
1//! Atoms in chunks: columnar within a chunk, chunked across the structure.
2//!
3//! A chunk is at once the unit of storage, of cache residency, of parallel work
4//! and of summary statistics. Sized so its hot columns stay in second-level
5//! cache while a kernel runs, it bounds the working set by the chunk rather than
6//! by the structure — a distance calculation over a ribosome touches the same
7//! amount of memory at a time as one over a lysozyme.
8
9mod atom;
10mod builder;
11mod parent;
12mod stats;
13
14pub use atom::{AtomChunk, AtomRecord};
15pub use builder::{ChunkBuilder, TARGET_CHUNK_ATOMS};
16pub use parent::ParentMapping;
17pub use stats::{AtomChunkStats, ElementMask, Extremes};