OpenMM helper¶
This module provides various tools to simplify the usage or extend the functionality of OpenMM. Mainly, they can be categorized into file parsers, pre-constructed forces and reporters.
Forces¶
|
Apply Yeh's long range coulomb correction for slab geometry in z direction to eliminate the undesired interactions between periodic slabs. |
|
Restrain the number of selected particles in a region. |
|
Add a LJ-12-6 wall for selected particles so that they cannot cross it. |
|
Add a power wall for selected particles so that they cannot cross it. |
|
Add a spherical wall centered at a reference point so that selected particles are repelled from this point. |
|
Apply external electric field to selected particles in a system. |
|
Restrain the selected particles at their original positions. |
|
Apply Tang-Toennies damping for the Coulomb interactions between selected H-bond donors and Drude dipoles. |
Reporters¶
|
ViscosityReporter report the velocity amplitude and reciprocal of viscosity using cosine periodic perturbation method. |
|
DrudeTemperatureReporter reports the temperatures of different DOFs in a Drude simulation system. |
|
GroReporter outputs a series of frames from a Simulation to a GRO file. |
|
CheckpointReporter saves periodic checkpoints of a simulation. |
|
StateDataReporter outputs information about a simulation, such as energy and temperature, to a file. |
Parsers¶
|
GroFile is a parser and writer for Gromacs .gro file. |