energy
Class Energy

java.lang.Object
  extended byenergy.Energy
Direct Known Subclasses:
Energy_Angle, Energy_Bond, Energy_Dihedral, Energy_GBorn, Energy_ImpDihedral

public class Energy
extends java.lang.Object


Field Summary
(package private)  Particles atoms
           
(package private)  int DIM
           
(package private) static InteractionsEnergy[] interactionsEnergy
           
(package private)  int size
           
(package private)  SimSystem sys
           
 
Constructor Summary
Energy()
          The Energy class default constructor.
Energy(Particles atoms, SimSystem sys)
          The Energy class constructor.
 
Method Summary
 void calcEnergy()
          public void method calcEnergy() calculates the bonded and non-bonded forces
by looping over the interactions interface parsed in the constructor
private  void setup_Interactions()
          private void method setup_Interactions() sets up the interaction types for the calculation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

atoms

Particles atoms

sys

SimSystem sys

size

final int size

DIM

final int DIM

interactionsEnergy

static InteractionsEnergy[] interactionsEnergy
Constructor Detail

Energy

public Energy()
The Energy class default constructor.


Energy

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

Method Detail

setup_Interactions

private void setup_Interactions()
private void method setup_Interactions() sets up the interaction types for the calculation


calcEnergy

public void calcEnergy()
public void method calcEnergy() calculates the bonded and non-bonded forces
by looping over the interactions interface parsed in the constructor