Skip to main content

ferritin_core/model/
mod.rs

1//! Model layer (Layer 1): atomic hierarchy, conformation, and bond connectivity.
2//!
3//! This module provides the core data structures for representing molecular
4//! structures.  It sits on top of the Layer 0 primitives in [`crate::data`].
5//!
6//! # Architecture
7//!
8//! ```text
9//! Model  ──── Arc<AtomicHierarchy>  (topology: atoms, residues, chains, bonds)
10//!        └─── AtomicConformation    (coordinates: x, y, z per atom)
11//! ```
12//!
13//! Multiple `Model`s (trajectory frames) share one `AtomicHierarchy` via `Arc`.
14
15pub mod bonds;
16pub mod conformation;
17pub mod hierarchy;
18pub mod model;
19pub mod tables;
20
21pub use bonds::Bonds;
22pub use conformation::AtomicConformation;
23pub use hierarchy::AtomicHierarchy;
24pub use model::Model;
25pub use tables::{AtomsTable, ChainsTable, ResidueGroup, ResiduesTable};