-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slight error in Gay-Berne Potential #3834
Comments
I think you're right. However, a quick literature search reveals we are not the only one who dropped the nu exponent on epsilon0:
I couldn't find papers citing the Gay et Berne 1981 paper that included the nu exponent. Since epsilon0 is a constant, its nu exponent only rescales the potential and force. I would guess that's the reason why GB papers simply leave the exponent out. We should add a citation to Gay et Berne 1981 plus a note that we use the convention of epsilon0 without exponent that is prevalent in the GB literature, in both the Sphinx documentation and the C++ source code. |
Ok, sounds good. |
Thanks for pointing out that discrepancy. I'll open a PR. |
I think there is a slight error in the Gay-Berne Potential calculation in code and documentation:
The term (see http://espressomd.org/html/doc4.1.3/inter_non-bonded.html#gay-berne-interaction)
should really be
.
Note the exponent.
This is accoring to the original equations in "J. G. Gay, B. J. Berne, Modification of the overlap potential to mimic a linear site–site potential, J. Chem. Phys. 1981, 74, 3316."
The equations in the original paper are:
and
.
Am I correct or am I overlooking something?
The text was updated successfully, but these errors were encountered: