energy
Class Energy_Angle

java.lang.Object
  extended byenergy.Energy
      extended byenergy.Energy_Angle
All Implemented Interfaces:
InteractionsEnergy, java.lang.Runnable

public class Energy_Angle
extends Energy
implements java.lang.Runnable, InteractionsEnergy


Field Summary
private  Angles ang
           
private  Angles angh
           
private  double vangle
           
 
Fields inherited from class energy.Energy
atoms, DIM, interactionsEnergy, size, sys
 
Constructor Summary
Energy_Angle(Particles atoms, SimSystem sys)
          The Energy_Angle class constructor.
 
Method Summary
protected  double calc(Angles angles)
          protected void Method calc evaluates the Angle Energy as (GROMOS96 manual pages II-17ff):
 void run()
          public void Method run calls protected void Method calc.
 
Methods inherited from class energy.Energy
calcEnergy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ang

private final Angles ang

angh

private final Angles angh

vangle

private double vangle
Constructor Detail

Energy_Angle

public Energy_Angle(Particles atoms,
                    SimSystem sys)
The Energy_Angle class constructor.

Method Detail

run

public void run()
public void Method run calls protected void Method calc. It also serves as the interface for the thread start.

Specified by:
run in interface java.lang.Runnable

calc

protected double calc(Angles angles)
protected void Method calc evaluates the Angle Energy as (GROMOS96 manual pages II-17ff):

Parameters:
angles - An Angles object