Skip to content

Update Packmol defauls #1275

@mattwthompson

Description

@mattwthompson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions