parmed.topologyobjects.OutOfPlaneBendType¶
-
class
parmed.topologyobjects.
OutOfPlaneBendType
(k, list=None)[source]¶ An angle type with a set of angle parameters
- Parameters
- k
float
Force constant in kcal/mol/radians^2
- list
TrackedList
A list of `OutOfPlaneBendType`s in which this is a member
- k
Notes
Two OutOfPlaneBendType`s are equal if their `k attribute is equal
Examples
>>> ot1 = OutOfPlaneBendType(10.0) >>> ot2 = OutOfPlaneBendType(10.0) >>> ot1 is ot2 False >>> ot1 == ot2 True >>> ot1.idx # not part of any list or iterable -1
As part of a list, they can be indexed
>>> oopbend_list = [] >>> oopbend_list.append(OutOfPlaneBendType(10.0, list=oopbend_list)) >>> oopbend_list.append(OutOfPlaneBendType(10.0, list=oopbend_list)) >>> oopbend_list[0].idx 0 >>> oopbend_list[1].idx 1
- Attributes
- idx
- uk
Methods
__init__
(k[, list])Initialize self.
Attributes
idx