Skip to main content

Module trajectory

Module trajectory 

Source
Expand description

Trajectory layer (Layer 2): multi-model structure access.

This module provides the Trajectory trait for accessing ordered collections of Model frames, plus two implementations:

All implementations are object-safe (dyn Trajectory works).

Re-exports§

pub use array_trajectory::ArrayTrajectory;
pub use coordinates::Coordinates;
pub use coordinates::Frame;
pub use coordinates::UnitCell;
pub use model_coords_trajectory::ModelCoordsTrajectory;

Modules§

array_trajectory
Eager trajectory: all frames held in memory as Vec<Model>.
coordinates
Coordinate data for trajectory frames.
model_coords_trajectory
Lazy trajectory: one topology + many coordinate frames.

Traits§

Trajectory
Multi-model structure access. Object-safe: usable as dyn Trajectory.