polymerist.mdtools.openfftools.unitsys

For handling interconversion between the OpenMM and OpenFF (Pint) unit engines

Attributes

ReturnType

Functions

allow_openmm_units(→ Callable[Ellipsis, ReturnType])

Allow a Callable which expects any of its args to be OpenFF Quantities to also accept equivalent OpenMM Quantites

allow_openff_units(→ Callable[Ellipsis, ReturnType])

Allow a Callable which expects any of its args to be OpenMM Quantities to also accept equivalent OpenFF Quantites

Module Contents

polymerist.mdtools.openfftools.unitsys.ReturnType
polymerist.mdtools.openfftools.unitsys.allow_openmm_units(funct: Callable[Ellipsis, ReturnType]) Callable[Ellipsis, ReturnType][source]

Allow a Callable which expects any of its args to be OpenFF Quantities to also accept equivalent OpenMM Quantites

polymerist.mdtools.openfftools.unitsys.allow_openff_units(funct: Callable[Ellipsis, ReturnType]) Callable[Ellipsis, ReturnType][source]

Allow a Callable which expects any of its args to be OpenMM Quantities to also accept equivalent OpenFF Quantites