Skip to content

Interaction between preset charges/charge_from_moleucles and virtual sites underspecified #69

Description

@mattwthompson

Consider a case in which a water Molecule has arbitrary partial charges and is fed to a well-defined SMIRNOFF force field for 4-site water (in atoms have charges defined by a LibraryCharges and VirtualSite parameters have non-zero charge increments).

What's supposed to happen here?

  1. Preset charges "win" and the virtual site just doesn't have a chance to get charges assigned
  2. Preset charges are meant to replace library charges/AM1-BCC or similar and virtual site charge increments should still be applied.

(1) is at least counter-intuitive since charge increments in virtual site parameter shouldn't be optional or modified by preset charges. (2) doesn't match the description in "Prespecified charges (reference implementation only)" in the spec; the resulting partial charges differ from what's passed in.

I think the case of a ligand subject to both AM1-BCC charges and virtual site parameters raises the same question, in case that's easier to digest.

More detail: openforcefield/openff-interchange#1050 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions