energy
Class Energy_ImpDihedral

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

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


Field Summary
private  ImproperDihedrals idih
           
private  ImproperDihedrals idihh
           
private  double vimp
           
 
Fields inherited from class energy.Energy
atoms, DIM, interactionsEnergy, size, sys
 
Constructor Summary
Energy_ImpDihedral(Particles atoms, SimSystem sys)
          The Energy_ImpDihedral class constructor.
 
Method Summary
protected  double calc(ImproperDihedrals improper)
          protected void Method calc evaluates the improper dihdral force as (GROMOS96 manual pages II-21ff):
 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

idihh

private final ImproperDihedrals idihh

idih

private final ImproperDihedrals idih

vimp

private double vimp
Constructor Detail

Energy_ImpDihedral

public Energy_ImpDihedral(Particles atoms,
                          SimSystem sys)
The Energy_ImpDihedral 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(ImproperDihedrals improper)
protected void Method calc evaluates the improper dihdral force as (GROMOS96 manual pages II-21ff):

Parameters:
improper - An ImproperDihedrals object