system¶
OpenMM system extensions and tools¶
This module contains implementations of common OpenMM system transformations, like the slab correction method for pseudo-2D slab systems, the method of image charges, and an applied potential difference.
Functions
Adds an electric field to all charged particles by adding a force \(f_i=q_iE\) in the axis specified in axis, where \(q_i\) is the per-particle charge and \(E\) is the electric field. |
|
Implements the method of image charges for dielectric boundaries. |
|
Implements a slab correction so that efficient three-dimensional Ewald methods can continue to be used to evaluate the electrostatics for systems that are periodic in the \(x\)- and \(y\)-directions but not the \(z\)-direction. |
|
Computes the estimated pressure tensor using a central finite difference for the virial contribution. |
|
Sequentially register particles of the same type to the simulation system, topology, and nonbonded pair potentials. |