Skip to main content

Crate hoomd_simulation

Crate hoomd_simulation 

Source
Expand description

Interact with simulations.

§Simulation

hoomd-simulation defines the Simulation trait. Implement it for a type that holds the simulation parameters, types that implement the simulation model, and the microstate (or microstates) that it operates on.

See the tutorials in the documentation for numerous examples.

§Macrostate

The macrostate module provides types that set the parameters of the simulation. For example, set the temperature of the simulation with:

use hoomd_simulation::macrostate::Isothermal;

let macrostate = Isothermal { temperature: 1.2 };

§Complete documentation

hoomd-simulation is is a part of hoomd-rs. Read the complete documentation for more information.

Modules§

macrostate
Traits that describe system macrostates and types that implement them.

Traits§

Simulation
Store parameters, the model and the microstate(s) it acts on.