|
OpenMM
|
A Residue object represents a residue within a Topology. More...
Inheritance diagram for Residue:Public Member Functions | |
| def | __init__ |
| Construct a new Residue. More... | |
| def | atoms |
| Iterate over all Atoms in the Residue. More... | |
| def | __len__ |
Public Attributes | |
| name | |
| The name of the Residue. More... | |
| index | |
| The index of the Residue within its Topology. More... | |
| chain | |
| The Chain this Residue belongs to. More... | |
| id | |
| A user defined identifier for this Residue. More... | |
| def __init__ | ( | self, | |
| name, | |||
| index, | |||
| chain, | |||
| id | |||
| ) |
| def __len__ | ( | self | ) |
References Residue._atoms.
| def atoms | ( | self | ) |
Iterate over all Atoms in the Residue.
References Residue._atoms.
Referenced by ForceField.registerScript().
| id |
A user defined identifier for this Residue.
| index |
The index of the Residue within its Topology.
Referenced by ForceField.registerScript().
| name |
The name of the Residue.
Referenced by Element.__repr__(), Element.__str__(), Modeller.addSolvent(), and ForceField.registerScript().