OpenMM
|
This class prevents the center of mass of a System from drifting. More...
Public Member Functions | |
def | getFrequency |
getFrequency(self) -> int | |
def | setFrequency |
Set the frequency (in time steps) at which center of mass motion should be removed. | |
def | usesPeriodicBoundaryConditions |
usesPeriodicBoundaryConditions(self) -> bool | |
def | __init__ |
__init__(self, frequency=1) -> CMMotionRemover __init__(self) -> CMMotionRemover __init__(self, other) -> CMMotionRemover | |
Public Attributes | |
this |
This class prevents the center of mass of a System from drifting.
At each time step, it calculates the center of mass momentum, then adjusts the individual particle velocities to make it zero.
def __init__ | ( | self, | |
args | |||
) |
__init__(self, frequency=1) -> CMMotionRemover __init__(self) -> CMMotionRemover __init__(self, other) -> CMMotionRemover
Create a CMMotionRemover.
def getFrequency | ( | self | ) |
getFrequency(self) -> int
Get the frequency (in time steps) at which center of mass motion should be removed
def setFrequency | ( | self, | |
freq | |||
) |
Set the frequency (in time steps) at which center of mass motion should be removed.
def usesPeriodicBoundaryConditions | ( | self | ) |
usesPeriodicBoundaryConditions(self) -> bool
Returns whether or not this force makes use of periodic boundary conditions.
Reimplemented from Force.