-
Notifications
You must be signed in to change notification settings - Fork 2
Issue #162 - scale box factor change #164
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| **Added:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Changed:** | ||
|
|
||
| * In line with Interchange v0.5+, the box is no longer being scaled by 1.1 | ||
| when defining the ``number_of_solvent_molecules``. In those cases, the | ||
| resulting box density will be much higher. | ||
| To roughly reproduce previous behavior, we recommend reducing the | ||
| ``target_density`` to 0.715 * unit.grams / unit.mL when | ||
| defining ``number_of_solvent_molecules``. | ||
|
|
||
| **Deprecated:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Removed:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Fixed:** | ||
|
|
||
| * <news item> | ||
|
|
||
| **Security:** | ||
|
|
||
| * <news item> | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -142,11 +142,12 @@ class BasePontibusSolvationSettings(BaseSolvationSettings): | |||||
| target_density: GramsPerMolQuantity | None = 0.95 * unit.grams / unit.mL # noqa: F821 | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (blocking)
Suggested change
|
||||||
| """ | ||||||
| Target mass density for the solvated system in units compatible with g / mL. | ||||||
| Generally a ``target_density`` value of 0.95 * unit.grams / unit.mL is | ||||||
| sufficient, although you may have to aim for a lower value should you find | ||||||
| it difficult to pack your system. | ||||||
| A ``target_density`` value of 0.95 * unit.grams / unit.mL works in many cases, | ||||||
| but may lead to an overly dense system. This is especially true when | ||||||
| defining ``number_of_solvent_molecules``, in this case a value of | ||||||
| 0.715 * unit.grams / unit.mL is recommended. | ||||||
|
|
||||||
| Default: 0.95 * unit.grams / unit.mL. | ||||||
| Default: 0.715 * unit.grams / unit.mL. | ||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should it be or should it not?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To ensure I understand before I misspeak/go down a rabbit hole - Could you clarify that the 50-50 comment means that
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, when you define However, when you don't (because you are instead just defining a solvent padding), which happens with water solvent SFEs (e.g. freesolv benchmarks), then the current 0.95 target density is correct and shouldn't be changed. This matches the behaviour introduced in Interchange v0.5, where some code paths that didn't calculate the box density from the number of molecules (e.g. solvate_topology and solvate_topology_nonwater) wouldn't have been affected by the scale change and therefore wouldn't need their target density adjusted. |
||||||
|
|
||||||
| Notes | ||||||
| ----- | ||||||
|
|
||||||
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.
(not blocking) Rewording with a bit more detail, if desired