write¶

Writers write the state of the simulation, logger quantities, or calculated results to output files or streams:

  • GSD and DCD save the simulation trajectory to a file.

  • Burst provides a sliding window of a simulation trajectory wrote out at Burst.dump for use in selective high frequency trajectory data.

  • Combine GSD with a hoomd.logging.Logger to save system properties or per-particle calculated results.

  • Use HDF5Log to store logged data in HDF5 resizable datasets.

  • Use Table to display the status of the simulation periodically to standard out.

  • Implement custom output formats with CustomWriter.

Writers do not modify the system state.

Tip

OVITO has native support for GSD files, including logged per-particle array quantities and particle shapes.

See also

Tutorial: Introducing HOOMD-blue

Tutorial: Logging

Classes