meshi.geometry
Class TorsionPair

java.lang.Object
  extended by 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.


Field Summary
private  int numberOfUpdates
           
private  Torsion torsion1
           
private  Torsion torsion2
           
 
Constructor Summary
TorsionPair(Torsion torsion1, Torsion torsion2)
           
 
Method Summary
 Torsion torsion1()
           
 Torsion torsion2()
           
 java.lang.String toString()
           
 void update(int numberOfUpdates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

numberOfUpdates

private int numberOfUpdates

torsion1

private Torsion torsion1

torsion2

private Torsion torsion2
Constructor Detail

TorsionPair

public TorsionPair(Torsion torsion1,
                   Torsion torsion2)
Method Detail

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