Skip to main content

Module binary_formats

Module binary_formats 

Source
Expand description

Binary format I/O for physics simulation data.

Provides binary trajectory writers/readers, DCD format support, minimal XTC-like compression, energy log writers, and checkpoint I/O.

Structs§

BinaryHeader
Binary file header for OxiPhysics trajectory files.
BinaryTrajectoryReader
Reader for the OxiPhysics binary trajectory format.
BinaryTrajectoryWriter
Streaming writer for the OxiPhysics binary trajectory format.
CheckpointWriter
Serialises and deserialises simulation checkpoints as byte buffers.
DcdReader
Reader for CHARMM DCD trajectory files (pure byte-slice, no I/O).
DcdWriter
Writer that produces CHARMM DCD trajectory files as a byte buffer.
EnergyEntry
A step entry in the energy log.
EnergyLogWriter
Writer for CSV-like energy time series.
ParticleFrame
A single snapshot of particle state at one simulation step.
XtcEncoder
Minimal XTC-like lossy compression for particle positions.

Constants§

OXIPHY_MAGIC
Magic bytes identifying the OxiPhysics binary trajectory format.