meshi.geometry
Class TorsionPair
java.lang.Object
meshi.geometry.TorsionPair
- All Implemented Interfaces:
- Updateable
public class TorsionPair
- extends java.lang.Object
- implements Updateable
This class defines a torsion pair for the use of the various two torsion energies.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
numberOfUpdates
private int numberOfUpdates
torsion1
private Torsion torsion1
torsion2
private Torsion torsion2
TorsionPair
public TorsionPair(Torsion torsion1,
Torsion torsion2)
torsion1
public Torsion torsion1()
torsion2
public Torsion torsion2()
update
public void update(int numberOfUpdates)
throws UpdateableException
- Specified by:
update in interface Updateable
- Throws:
UpdateableException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object