Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

hoomd-rs logo

hoomd-rs is a collection of Rust crates that implement particle simulations and related methods. It performs Monte Carlo simulations of hard shapes and interacting particles (both isotropic and anisotropic) as well as molecular dynamics simulations with a variety of particle interaction. hoomd-rs provides public APIs for vector math, geometric primitives, spatial data structures, energy calculations, and all other components of the simulation that users can employ in their own analysis and simulation methods. You can use hoomd-rs to create real-time interactive visualizations of simulations, execute long-running simulations in batch mode on high performance computing resources, and analyze the results of those simulations.

hoomd-rs is the spiritual successor to the Python package HOOMD-blue. While the two share many common features, hoomd-rs provides many capabilities that HOOMD-blue cannot, such as:

  • Custom per-particle attributes.
  • Custom particle interactions that can depend on custom per-particle attributes.
  • Custom vector representations, including curved spaces.
  • Custom MC trial moves and acceptance criteria.
  • Custom simulation box geometries (including non-periodic simulation boxes).
  • Custom visual representations of simulation elements.
  • Build native command line applications on Linux, macOS, and Windows.
  • Run real-time interactive simulations on desktop platforms or embedded in a web page.

This documentation is written in mdBook. The Reading Books chapter explains how to search, change display settings, and navigate this book. Press ? to see a list of keyboard shortcuts.


Development of hoomd-rs is led by the Glotzer Group at the University of Michigan.

Copyright © 2024-2026 The Regents of the University of Michigan.