energy
Class Energy_Bond

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

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


Field Summary
private  Bonds bo
           
private  Bonds boh
           
private  double vbond
           
 
Fields inherited from class energy.Energy
atoms, DIM, interactionsEnergy, size, sys
 
Constructor Summary
Energy_Bond(Particles atoms, SimSystem sys)
          The Energy_Bond class constructor.
 
Method Summary
protected  double calc(Bonds bonds)
          protected void Method calc evaluates the Bond Energy as (GROMOS96 manual pages II-12ff):
 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

boh

private final Bonds boh

bo

private final Bonds bo

vbond

private double vbond
Constructor Detail

Energy_Bond

public Energy_Bond(Particles atoms,
                   SimSystem sys)
The Energy_Bond 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(Bonds bonds)
protected void Method calc evaluates the Bond Energy as (GROMOS96 manual pages II-12ff):

Parameters:
bonds - A Bonds object