File tree Expand file tree Collapse file tree 8 files changed +9
-9
lines changed
Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def energy(self):
7676
7777 .. math::
7878
79- U = \\ sum_{i=0}^\\ mathrm{N_particles -1}
79+ U = \\ sum_{i=0}^{N_ \\ mathrm{particles} -1}
8080 U_{\\ mathrm{external},i}
8181
8282 See `hoomd.hpmc.integrate` for the full expression which includes
Original file line number Diff line number Diff line change 157157.. math::
158158
159159 U_\mathrm{external} =
160- \sum_{i=0}^\mathrm{N_particles -1} U_{\mathrm{external},i}(\vec{r}_i,
160+ \sum_{i=0}^\mathrm{N_{particles} -1} U_{\mathrm{external},i}(\vec{r}_i,
161161 \mathbf{q}_i)
162162
163163Potential classes in `hoomd.hpmc.pair` evaluate
Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ def energy(self):
8383
8484 .. math::
8585
86- U = \\ sum_{i=0}^\\ mathrm{N_particles -1}
87- \\ sum_{j=i+1}^\\ mathrm{N_particles -1}
86+ U = \\ sum_{i=0}^{N_ \\ mathrm{particles} -1}
87+ \\ sum_{j=i+1}^{N_ \\ mathrm{particles} -1}
8888 U_{\\ mathrm{pair},ij}
8989
9090 See `hoomd.hpmc.integrate` for the full expression which includes
Original file line number Diff line number Diff line change 66
77.. math::
88
9- U_\mathrm{wall} = \sum_{i=0}^{\mathrm{N_particles-1} }
9+ U_\mathrm{wall} = \sum_{i=0}^{N_ \mathrm{particles}-1 }
1010 \sum_{w \in walls} U_w(d_i),
1111
1212where :math:`d_i` is the signed distance between particle :math:`i` and the wall
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ def linear_momentum(self):
379379
380380 .. math::
381381
382- \\ vec{p} = \\ sum_{i=0}^\\ mathrm{N_particles -1} m_i \\ vec{v}_i
382+ \\ vec{p} = \\ sum_{i=0}^{N_ \\ mathrm{particles} -1} m_i \\ vec{v}_i
383383 """
384384 v = self ._cpp_obj .computeLinearMomentum ()
385385 return (v .x , v .y , v .z )
Original file line number Diff line number Diff line change 66
77.. math::
88
9- U_\mathrm{many-body} = \frac{1}{2} \sum_{i=0}^\mathrm{N_particles -1}
9+ U_\mathrm{many-body} = \frac{1}{2} \sum_{i=0}^{N_ \mathrm{particles} -1}
1010 \sum_{j \ne i}
1111 \sum_{j \ne k} U(\vec{r}_{ij}, \vec{r}_{ik})
1212
Original file line number Diff line number Diff line change 66
77.. math::
88
9- U_\mathrm{pair,total} = \frac{1}{2} \sum_{i=0}^\mathrm{N_particles -1}
9+ U_\mathrm{pair,total} = \frac{1}{2} \sum_{i=0}^{N_ \mathrm{particles} -1}
1010 \sum_{j \ne i, (i,j) \notin \mathrm{exclusions}}
1111 U_\mathrm{pair}(r_{ij})
1212
Original file line number Diff line number Diff line change 66
77.. math::
88
9- U_\mathrm{pair,total} = \frac{1}{2} \sum_{i=0}^\mathrm{N_particles -1}
9+ U_\mathrm{pair,total} = \frac{1}{2} \sum_{i=0}^{N_ \mathrm{particles} -1}
1010 \sum_{j \ne i, (i,j) \notin \mathrm{exclusions}}
1111 U_\mathrm{pair}(r_{ij}, \mathbf{q}_i, \mathbf{q}_j)
1212
You can’t perform that action at this time.
0 commit comments