-
Notifications
You must be signed in to change notification settings - Fork 3
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
OFF-EP-0009 #55
OFF-EP-0009 #55
Conversation
Jotting down some notes: After reading the docs and trying to grok the implementation in some OpenMM source code, I'm moving to just use At least in OpenMM world, the incompatibility with Lorentz-Berthelot mixing rules seems to only be in reciprocal space. The docs imply to me that geometric mixing rules are used in reciprocal space no matter what, and that's just an acceptable approximation. From this I'm inclined to treat it as an implementation detail instead of specifying that LJPME cannot ever be used with Lorentz-Berthelot. In fact, GROMACS seems to have no problem doing that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've provided some minor suggestions for improving clarity, but this OFF-EP has my approval to proceed.
Thanks again for rapidly resolving this!
docs/standards/smirnoff.md
Outdated
@@ -331,6 +331,10 @@ Different cut-off treatments can be applied to periodic and non-periodic systems | |||
* `"cutoff"`: The vdW interaction is truncated at a distance specified by the `cutoff` attribute. | |||
* `"no-cutoff"`: The vdW interaction is not truncated. | |||
|
|||
`periodic_method` can take additionally take the following values: | |||
|
|||
* `Ewald3D`: a method like [particle mesh Ewald](http://docs.openmm.org/development/userguide/theory/02_standard_forces.html#coulomb-interaction-with-ewald-summation) should be used. This is only compatible with `potential="Lennard-Jones-12-6"`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we just say "Ewald" instead of "particle mesh Ewald" here, and link to a stable description, like http://docs.openmm.org/8.0.0/userguide/theory/02_standard_forces.html#coulomb-interaction-with-ewald-summation
? We can mention that PME can be used as an implementation detail.
I thought we decided this is compatible with every potential that employs an 1/r^6, but we may restrict it to LJ-12-6 in the current implementations of the spec?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I agree with not restricting this to LJ-12-6. There are a lot of nuances to what we could put here but I'd have a slight preference for removing the last sentence altogether, implicitly reserving the right to raise NotImplementedErrors on the software level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we just say ...
Yup - I'm going with "Ewald summation" to be slightly more explicit
I thought we decided this is compatible with every potential that employs an 1/r^6
That's my understanding as well
we may restrict it to LJ-12-6 in the current implementations of the spec?
That is precisely what I intend here - future versions of the spec that include LJ variants or other functional forms altogether should discuss their compatibility with 12-6 Lennard-Jones. In all likelihood it is as simple as the restrictions you describe, but I feel strongly that this proposal should not elaborate on compatibility issues with unsupported potentials. In the "Usage an Impact" section I attempt to encode this:
In this first iteration,
periodic_method="Ewald3D"
is only compatible withpotential="Lennard-Jones-12-6"
, which is currently the only supported value. Future changes to thepotential
attribute should discuss compatibility with LJPME, if any, including which terms can be ignored in reciprocal space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM -- thank you for putting together this proposal! I agree with John's comments wrt pinning to a version of the docs, and including a short overview of previous discussion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comment, but I have nothing else to add to what's already been said; looks good and I approve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for putting this together. I agree with John's comment about adding a few of our discussion points for future people. And I think that bumping the spec version to 0.5 is the right thing to do... it's a little inconvenient but it'll be good to establish a precedent for "doing things right" in future EPs.
docs/standards/smirnoff.md
Outdated
@@ -331,6 +331,10 @@ Different cut-off treatments can be applied to periodic and non-periodic systems | |||
* `"cutoff"`: The vdW interaction is truncated at a distance specified by the `cutoff` attribute. | |||
* `"no-cutoff"`: The vdW interaction is not truncated. | |||
|
|||
`periodic_method` can take additionally take the following values: | |||
|
|||
* `Ewald3D`: a method like [particle mesh Ewald](http://docs.openmm.org/development/userguide/theory/02_standard_forces.html#coulomb-interaction-with-ewald-summation) should be used. This is only compatible with `potential="Lennard-Jones-12-6"`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I agree with not restricting this to LJ-12-6. There are a lot of nuances to what we could put here but I'd have a slight preference for removing the last sentence altogether, implicitly reserving the right to raise NotImplementedErrors on the software level.
Co-authored-by: Lily Wang <[email protected]>
Thanks all for the reviews - I think I've covered everything brought up, but I'll leave this open for a short period of time in case I've introduced new typos or missed an important detail from our discussion in the meeting |
OFF-EP 0007b — Add long-range vdW treatment attribute in vdW section (alternative to OFF-EP 0007) #44 (comment)valid but not directly relevantOFF-EP 0007b — Add long-range vdW treatment attribute in vdW section (alternative to OFF-EP 0007) #44 (comment)not in scope here