Skip to content
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hoomd/hpmc/external/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def energy(self):

.. math::

U = \\sum_{i=0}^\\mathrm{N_particles-1}
U = \\sum_{i=0}^\\mathrm{N_{particles}-1}
U_{\\mathrm{external},i}

See `hoomd.hpmc.integrate` for the full expression which includes
Expand Down
2 changes: 1 addition & 1 deletion hoomd/hpmc/integrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
.. math::

U_\mathrm{external} =
\sum_{i=0}^\mathrm{N_particles-1} U_{\mathrm{external},i}(\vec{r}_i,
\sum_{i=0}^\mathrm{N_{particles}-1} U_{\mathrm{external},i}(\vec{r}_i,
\mathbf{q}_i)

Potential classes in `hoomd.hpmc.pair` evaluate
Expand Down
4 changes: 2 additions & 2 deletions hoomd/hpmc/pair/pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def energy(self):

.. math::

U = \\sum_{i=0}^\\mathrm{N_particles-1}
\\sum_{j=i+1}^\\mathrm{N_particles-1}
U = \\sum_{i=0}^\\mathrm{N_{particles}-1}
\\sum_{j=i+1}^\\mathrm{N_{particles}-1}
U_{\\mathrm{pair},ij}

See `hoomd.hpmc.integrate` for the full expression which includes
Expand Down
2 changes: 1 addition & 1 deletion hoomd/md/external/wall.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

.. math::

U_\mathrm{wall} = \sum_{i=0}^{\mathrm{N_particles-1}}
U_\mathrm{wall} = \sum_{i=0}^{\mathrm{N_{particles}-1}}
\sum_{w \in walls} U_w(d_i),

where :math:`d_i` is the signed distance between particle :math:`i` and the wall
Expand Down
2 changes: 1 addition & 1 deletion hoomd/md/pair/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

.. math::

U_\mathrm{pair,total} = \frac{1}{2} \sum_{i=0}^\mathrm{N_particles-1}
U_\mathrm{pair,total} = \frac{1}{2} \sum_{i=0}^\mathrm{N_{particles}-1}
\sum_{j \ne i, (i,j) \notin \mathrm{exclusions}}
U_\mathrm{pair}(r_{ij})

Expand Down
2 changes: 1 addition & 1 deletion hoomd/md/pair/aniso.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

.. math::

U_\mathrm{pair,total} = \frac{1}{2} \sum_{i=0}^\mathrm{N_particles-1}
U_\mathrm{pair,total} = \frac{1}{2} \sum_{i=0}^\mathrm{N_{particles}-1}
\sum_{j \ne i, (i,j) \notin \mathrm{exclusions}}
U_\mathrm{pair}(r_{ij}, \mathbf{q}_i, \mathbf{q}_j)

Expand Down