parmed.topologyobjects.StretchBendType¶
-
class
parmed.topologyobjects.
StretchBendType
(k1, k2, req1, req2, theteq, list=None)[source]¶ A stretch-bend type with two distances and an angle in AMOEBA
- Parameters
- k1
float
First force constant in kcal/mol/(radians*angstroms)
- k2
float
Second force constant in kcal/mol/(radians*angstroms)
- req1
float
Equilibrium bond distance for bond between the first and second atoms in Angstroms
- req2
float
Equilibrium bond distance for bond between the second and third atoms in Angstroms
- theteq
float
Equilibrium angle in degrees
- list
TrackedList
A list of `StretchBendType`s in which this is a member
- k1
Notes
Two StretchBendType`s are equal if their `req1, req2, theteq, and k attributes are equal
Examples
>>> sbt1 = StretchBendType(10.0, 10.0, 1.0, 1.0, 180.0) >>> sbt2 = StretchBendType(10.0, 10.0, 1.0, 1.0, 180.0) >>> sbt1 is sbt2 False >>> sbt1 == sbt2 True >>> sbt1.idx # Not part of any list or iterable -1
As part of a list, they can be indexed
>>> strbnd_list = [] >>> strbnd_list.append(StretchBendType(10.0, 10.0, 1.0, 1.0, 180.0, strbnd_list)) >>> strbnd_list.append(StretchBendType(10.0, 10.0, 1.0, 1.0, 180.0, strbnd_list)) >>> strbnd_list[0].idx 0 >>> strbnd_list[1].idx 1
- Attributes
- idx
- uk1
- uk2
- ureq1
- ureq2
- utheteq
-
__init__
(k1, k2, req1, req2, theteq, list=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(k1, k2, req1, req2, theteq[, list])Initialize self.
Attributes
idx