This class implements an interaction at trigonal centers corresponding to the projected in-plane angle bend energy between four particles; the energy varies harmonically with the angle between them. More...
Public Member Functions | |
def | getNumAngles |
getNumAngles(self) -> int | |
def | setAmoebaGlobalHarmonicInPlaneAngleCubic |
setAmoebaGlobalHarmonicInPlaneAngleCubic(self, double cubicK) | |
def | getAmoebaGlobalHarmonicInPlaneAngleCubic |
getAmoebaGlobalHarmonicInPlaneAngleCubic(self) -> double | |
def | setAmoebaGlobalHarmonicInPlaneAngleQuartic |
setAmoebaGlobalHarmonicInPlaneAngleQuartic(self, double quarticK) | |
def | getAmoebaGlobalHarmonicInPlaneAngleQuartic |
getAmoebaGlobalHarmonicInPlaneAngleQuartic(self) -> double | |
def | setAmoebaGlobalHarmonicInPlaneAnglePentic |
setAmoebaGlobalHarmonicInPlaneAnglePentic(self, double penticK) | |
def | getAmoebaGlobalHarmonicInPlaneAnglePentic |
getAmoebaGlobalHarmonicInPlaneAnglePentic(self) -> double | |
def | setAmoebaGlobalHarmonicInPlaneAngleSextic |
setAmoebaGlobalHarmonicInPlaneAngleSextic(self, double sexticK) | |
def | getAmoebaGlobalHarmonicInPlaneAngleSextic |
getAmoebaGlobalHarmonicInPlaneAngleSextic(self) -> double | |
def | addAngle |
addAngle(self, int particle1, int particle2, int particle3, int particle4, double length, double quadraticK) -> int | |
def | getAngleParameters |
getAngleParameters(self, int index) | |
def | setAngleParameters |
setAngleParameters(self, int index, int particle1, int particle2, int particle3, int particle4, double length, double quadraticK) | |
def | __init__ |
__init__(self) -> AmoebaHarmonicInPlaneAngleForce __init__(self, AmoebaHarmonicInPlaneAngleForce other) -> AmoebaHarmonicInPlaneAngleForce | |
def | __del__ |
__del__(self) | |
Public Attributes | |
this |
This class implements an interaction at trigonal centers corresponding to the projected in-plane angle bend energy between four particles; the energy varies harmonically with the angle between them.
To use it, create a AmoebaHarmonicInPlaneAngle object then call addAngle() once for each angle. After a angle has been added, you can modify its force field parameters by calling setAngleParameters().
def __del__ | ( | self | ) |
__del__(self)
Reimplemented from Force.
def __init__ | ( | self, | ||
args | ||||
) |
__init__(self) -> AmoebaHarmonicInPlaneAngleForce __init__(self, AmoebaHarmonicInPlaneAngleForce other) -> AmoebaHarmonicInPlaneAngleForce
Create a Amoeba HarmonicAngleForce.
def addAngle | ( | self, | ||
args | ||||
) |
addAngle(self, int particle1, int particle2, int particle3, int particle4, double length, double quadraticK) -> int
Add a angle term to the force field.
particle1 | the index of the first particle connected by the angle | |
particle2 | the index of the second particle connected by the angle | |
particle3 | the index of the third particle connected by the angle | |
particle4 | the index of the fourth particle connected by the angle | |
length | the equilibrium angle, measured in radians | |
quadratic | k the quadratic harmonic force constant for the angle measured in kJ/mol/radian^2 |
def getAmoebaGlobalHarmonicInPlaneAngleCubic | ( | self | ) |
getAmoebaGlobalHarmonicInPlaneAngleCubic(self) -> double
Get the global cubic term
def getAmoebaGlobalHarmonicInPlaneAnglePentic | ( | self | ) |
getAmoebaGlobalHarmonicInPlaneAnglePentic(self) -> double
Get the global pentic term
def getAmoebaGlobalHarmonicInPlaneAngleQuartic | ( | self | ) |
getAmoebaGlobalHarmonicInPlaneAngleQuartic(self) -> double
Get the global quartic term
def getAmoebaGlobalHarmonicInPlaneAngleSextic | ( | self | ) |
getAmoebaGlobalHarmonicInPlaneAngleSextic(self) -> double
Get the global sextic term
def getAngleParameters | ( | self, | ||
args | ||||
) |
getAngleParameters(self, int index)
Get the force field parameters for a angle term.
index | the index of the angle for which to get parameters | |
particle1 | the index of the first particle connected by the angle | |
particle2 | the index of the second particle connected by the angle | |
particle3 | the index of the third particle connected by the angle | |
particle4 | the index of the fourth particle connected by the angle | |
length | the equilibrium angle, measured in radians | |
quadratic | k the quadratic harmonic force constant for the angle measured in kJ/mol/radian^2 |
def getNumAngles | ( | self | ) |
getNumAngles(self) -> int
Get the number of harmonic angle stretch terms in the potential function
def setAmoebaGlobalHarmonicInPlaneAngleCubic | ( | self, | ||
args | ||||
) |
setAmoebaGlobalHarmonicInPlaneAngleCubic(self, double cubicK)
Set the global cubic term
cubicK | the cubic harmonic force constant for the angle |
def setAmoebaGlobalHarmonicInPlaneAnglePentic | ( | self, | ||
args | ||||
) |
setAmoebaGlobalHarmonicInPlaneAnglePentic(self, double penticK)
Set the global pentic term
penticK | the pentic harmonic force constant for the angle |
def setAmoebaGlobalHarmonicInPlaneAngleQuartic | ( | self, | ||
args | ||||
) |
setAmoebaGlobalHarmonicInPlaneAngleQuartic(self, double quarticK)
Set the global quartic term
quarticK | the quartic harmonic force constant for the angle |
def setAmoebaGlobalHarmonicInPlaneAngleSextic | ( | self, | ||
args | ||||
) |
setAmoebaGlobalHarmonicInPlaneAngleSextic(self, double sexticK)
Set the global sextic term
sexticK | the sextic harmonic force constant for the angle |
def setAngleParameters | ( | self, | ||
args | ||||
) |
setAngleParameters(self, int index, int particle1, int particle2, int particle3, int particle4, double length, double quadraticK)
Set the force field parameters for a angle term.
index | the index of the angle for which to set parameters | |
particle1 | the index of the first particle connected by the angle | |
particle2 | the index of the second particle connected by the angle | |
particle3 | the index of the third particle connected by the angle | |
particle4 | the index of the fourth particle connected by the angle | |
length | the equilibrium angle, measured in radians | |
quadratic | k the quadratic harmonic force constant for the angle, measured in kJ/mol/radian^2 |