Skip to content

SMIRNOFF: Allow vdW potentials other than 12-6 Lennard-Jones #46

Description

@mattwthompson

The current SMIRNOFF specification states:

The potential attribute (default: "none") specifies the potential energy function to use. Currently, only potential="Lennard-Jones-12-6" is supported:

and promises:

Later revisions will add support for additional potential types (e.g., Buckingham-exp-6), as well as the ability to support arbitrary algebraic functional forms using a scheme such as [...] potential="4*epsilon*((sigma/r)^12-(sigma/r)^6)"

Users are already doing this, so it would be useful to hash out the details of proper support of this behavior so as to avoid large deviations in the future. (Must expressions be algebraic, or will there be a set of English strings that encode specific functional forms?)

Aside: it's confusing that a default value is specified but explicitly not supported. It's also not consistently what the reference implementation does:

>>> from openff.toolkit.typing.engines.smirnoff.parameters import vdWHandler
>>> vdWHandler(version=0.3).potential
'Lennard-Jones-12-6'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions