Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Add units to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyfothergill committed Sep 1, 2021
1 parent 50e1e73 commit f678037
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions planckton/sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@


class Simulation:
"""
Convenience class for initializing and running a HOOMD simulation.
"""Convenience class for initializing and running a HOOMD simulation.
Parameters
----------
Expand All @@ -24,9 +23,9 @@ class Simulation:
Scaling parameter for particle interaction strengths, used to simulate
solvent
tau : float, default 5.0
Thermostat coupling period
Thermostat coupling period (in simulation time units)
r_cut : float, default 2.5
Cutoff radius for potentials
Cutoff radius for potentials (in simulation distance units)
gsd_write : int, default 1e6
Period to write simulation snapshots to gsd file
log_write : int, default 1e5
Expand All @@ -38,7 +37,7 @@ class Simulation:
n_steps : int, default 1e3
Number of steps to run the simulation
dt : float, default 0.0001
Size of simulation timestep in simulation time units
Size of simulation timestep (in simulation time units)
mode : str, default "gpu"
Mode flag passed to hoomd.context.initialize. Options are "cpu" and
"gpu".
Expand Down

0 comments on commit f678037

Please sign in to comment.