add missing 1/n**2 term to pair style cosine/periodic energy function

This commit is contained in:
Axel Kohlmeyer
2021-03-22 15:10:45 -04:00
parent e8c8ceaf81
commit aabfe40ad3

View File

@ -31,7 +31,7 @@ center:
.. math::
E = 2.0*C \left[ 1 - B(-1)^n\cos\left( n\theta\right) \right]
E = \frac{2.0}{n^2} * C \left[ 1 - B(-1)^n\cos\left( n\theta\right) \right]
where :math:`C`, :math:`B` and :math:`n` are coefficients defined for each angle type.