OpenMM
|
This class prevents the center of mass of a System from drifting. More...
Public Member Functions | |
def | getFrequency |
getFrequency(CMMotionRemover self) -> int | |
def | setFrequency |
setFrequency(CMMotionRemover self, int freq) | |
def | __init__ |
init(OpenMM::CMMotionRemover self, int frequency=1) -> CMMotionRemover init(OpenMM::CMMotionRemover self) -> CMMotionRemover init(OpenMM::CMMotionRemover self, CMMotionRemover other) -> CMMotionRemover | |
def | __del__ |
del(OpenMM::CMMotionRemover self) | |
Public Member Functions inherited from Force | |
def | __init__ |
def | __del__ |
del(OpenMM::Force self) | |
def | getForceGroup |
getForceGroup(Force self) -> int | |
def | setForceGroup |
setForceGroup(Force self, int group) | |
def | __copy__ |
def | __deepcopy__ |
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(OpenMM::CMMotionRemover self, int frequency=1) -> CMMotionRemover init(OpenMM::CMMotionRemover self) -> CMMotionRemover init(OpenMM::CMMotionRemover self, CMMotionRemover other) -> CMMotionRemover
Create a CMMotionRemover.
def __del__ | ( | self | ) |
del(OpenMM::CMMotionRemover self)
def getFrequency | ( | self | ) |
getFrequency(CMMotionRemover self) -> int
Get the frequency (in time steps) at which center of mass motion should be removed
def setFrequency | ( | self, | |
args | |||
) |
setFrequency(CMMotionRemover self, int freq)
Set the frequency (in time steps) at which center of mass motion should be removed
this |