pub fn write_frame_binary( file: &mut File, positions: &[[f32; 3]], ) -> Result<(), Error>
Write one frame of atomic positions to an open file.
Each atom contributes 12 bytes (3 × f32 little-endian).