pub fn write_checkpoint(
path: &str,
header: &CheckpointHeader,
positions: &[[f64; 3]],
) -> Result<(), Error>Expand description
Write a checkpoint file containing a header and particle positions.
The file is created at path. Each position is written as three
space-separated f64 values, one atom per line.