OpenMM Nonbonded Slicing Plugin
This OpenMM plugin contains the SlicedNonbondedForce class, a variant of OpenMM's NonbondedForce. By partitioning all particles among $n$ disjoint subsets, the total potential energy becomes a linear combination of contributions from pairs of subsets like
E = \sum_{I=0}^{n-1} \sum_{J=I}^{n-1} \left( \lambda^{vdW}_{I,J}E^{vdW}_{I,J}+\lambda^{elec}_{I,J}E^{elec}_{I,J} \right)
where each slice is defined by subsets $I$ and $J$, superscripts vdW and elec denote van der Waals and electrostatic contributions, $E_{I,J}$ is the potential energy of all particle pairs formed by one particle in subset $I$ and one in subset $J$, and $\lambda_{I,J}$ is a scaling parameter.
By default, all scaling parameters are constant and equal to 1. However, the user can turn selected
scaling parameters into variables and store their values in Context global parameters. Derivatives
with respect to these variables can be requested and used, for instance, to report individual energy
slice contributions or sums thereof via getState with option getParameterDerivatives=True.
Documentation
Documentation for this plugin is available at Github Pages. It includes the Python API and the theory for slicing lattice-sum energy contributions.
Installation
The plugin is distributed on conda-forge:
mamba install -c conda-forge openmm-nonbonded-slicing
Instructions for building from source are in the documentation.
Usage
import openmm as mm
import nonbondedslicing as nbs
system = mm.System()
force = nbs.SlicedNonbondedForce(2)
system.addForce(force)
Metadata
Release files for openmm-nonbonded-slicing 0.3.0.post2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 7.2 MB
Release files / openmm_nonbonded_slicing-0.3.0.post2-cp314-cp314-manylinux_2_34_x86_64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp314-cp314-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 858.9 kB |
| Tags | CPython 3.14 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
9e2f81f0fb9073bb2e44adec75ffdf58055c449b51fce40ec6c9a4378312f199
|
|
BLAKE2b-256 checksum How to use checksums |
f45b78b461acb9ebb8a5df89b783149eaa7c69ef69bd9da2e5d897094ed53600
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / openmm_nonbonded_slicing-0.3.0.post2-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 476.1 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fa9911c985d6dbbe2c4ab5bb97c4fa8d70f559647a3aa588daf7f9f9031f2f7c
|
|
BLAKE2b-256 checksum How to use checksums |
68b4310add79db73e35c9da285a8f755bed143b6fa58b6e65435e864d6f6d32d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / openmm_nonbonded_slicing-0.3.0.post2-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 859.5 kB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
5cd7bdfd2d8620dadc511f2d3ee095a39b6687d429af2136c3005053980712d0
|
|
BLAKE2b-256 checksum How to use checksums |
25f727993f050ae41427c9a0fb9a932737220224c1c72bb61306beadef240e8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / openmm_nonbonded_slicing-0.3.0.post2-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 476.0 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e8473ed015048f0200e002741d47bca1314176a26ac764d0fe5907ba5cbe703c
|
|
BLAKE2b-256 checksum How to use checksums |
cab2879c3d4ba77aa554582529a04e832ee9f3965e1e4100b47fbab90be4f670
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / openmm_nonbonded_slicing-0.3.0.post2-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 861.9 kB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
a9b63e855cec031cdbbf85586cdc8f7a4914312db83033cd9a565316212cd978
|
|
BLAKE2b-256 checksum How to use checksums |
7145b6a6e8af0dd7f4eac42cfe9f5e4ac4c916e430e86c9e631bb6ebdab71c91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / openmm_nonbonded_slicing-0.3.0.post2-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 476.2 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ec163cbe7cb8740ad48cfc71949f7b3c0a6809f18f0e31dae0a254b919ee9f2b
|
|
BLAKE2b-256 checksum How to use checksums |
96884baf670448a2e178ced4901be748300db82eb8860fa72cb2f87c50b9668a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / openmm_nonbonded_slicing-0.3.0.post2-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 857.5 kB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
826ccba7ea16792fffb70c2f10afaa7b18a6b96a03902d381291fdf4e570f077
|
|
BLAKE2b-256 checksum How to use checksums |
e6ceb122643231a6aad8e928488c0a4a7dbdc5f5254b0dc2f183cb4114f94f37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / openmm_nonbonded_slicing-0.3.0.post2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 476.2 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4ba3ad131cef48b8376cc6729a2a2161f94b0654f5acacdd013a6e515cae541f
|
|
BLAKE2b-256 checksum How to use checksums |
9506f82a746b882d1a20d07668118857b1e2d1ddd5e1a2820dea0eda03303f74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / openmm_nonbonded_slicing-0.3.0.post2-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 854.7 kB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
c2bb01f044308c982fc7d8c70b76d581df05eea248b426a73455437e500f8ce5
|
|
BLAKE2b-256 checksum How to use checksums |
a99a2547dc2922dc71796af0f36c19c5ab03ef8f70738aa0232b8fa9269003e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / openmm_nonbonded_slicing-0.3.0.post2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 476.2 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
170551ac2efcfa858d43354d44988d641f7719d2c0d5bc907d7e2055a0545839
|
|
BLAKE2b-256 checksum How to use checksums |
af64294bd185a738f2a9b479923c08b5c0db6841538775253dea4f90fc06d2da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency logRelease files / openmm_nonbonded_slicing-0.3.0.post2-cp310-cp310-macosx_10_13_x86_64.whl
| Download URL | openmm_nonbonded_slicing-0.3.0.post2-cp310-cp310-macosx_10_13_x86_64.whl |
|---|---|
| Size | 563.3 kB |
| Tags | CPython 3.10 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
fb8bab7e5b350489a46ae26e24086279708340f9745dc0489293d199712a56f0
|
|
BLAKE2b-256 checksum How to use checksums |
0f7bc96c34493790c28eb5fbae05d48e50a03a491859d9abd8ae5703ea39e11b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.
Transparency log