|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectenergy.Energy
| 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 |
Particles atoms
SimSystem sys
final int size
final int DIM
static InteractionsEnergy[] interactionsEnergy
| Constructor Detail |
public Energy()
public Energy(Particles atoms,
SimSystem sys)
| Method Detail |
private void setup_Interactions()
public void calcEnergy()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||