to_openmm_positions

openff.interchange.interop.openmm.to_openmm_positions(interchange: Interchange, include_virtual_sites: bool = True) openmm.unit.Quantity[source]

Generate an array of positions of all particles, optionally including virtual sites.