The code for snapshot input is straightforward:
Note that we do not check here whether a complete snapshot is being
offered on the standard input stream in the right format. It would be
better to verify, for example, that new lines
n occur in the
correct places, separating each particle, and that no end-of-file
condition is encountered before the whole -body snapshot is read in.
In later versions we will provide more complete error checking.