-
Notifications
You must be signed in to change notification settings - Fork 24
Description
For historical reasons, the Packmol wrappers by default trim the box and then expand it by 10%, which is a bit funky. Before making these functions part of the public API (#1170), I would like to propose reverting both details of this behavior such that the box_vectors
argument is used for the box to pack molecules into and the requested density target_density
is not modified.
- For relatively simple use cases, the packing result will be strictly different (different box and positions) but functionally similar (should equilibrate to the same similar thermodynamic state)
- These functions are currently in the private API and have no stability guarantees
- Currently, there is no guarantee that the returned box is at the requested density
- The existing behavior could be maintained by changing argument values, passing a different-sized box and/or a lower target density
- Users are expected to be responsible for equilibrating their systems before production runs
Josh goes into more detail here; this issue is mostly paraphrasing their suggestion
Pinging some stakeholders who would be affected - @IAlibay @atravitz @lilyminium @j-wags @hannaomi @orionarcher (or another Atomate2 contact, maybe @JaGeo?) @JMorado @JHoeflich1 @jaketanderson
I am strongly in favor of this change since prior to locking in a 1.0 API, but am open to reasons why this behavior would be worse and not worth the change.