|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.javaGenes.forceFields.PotentialEnergyTestCase
Field Summary | |
protected Bodies[] |
bodies
|
protected double[] |
energy
the ideal energies for bodies |
Constructor Summary | |
PotentialEnergyTestCase(double[] e,
Bodies[] b)
|
Method Summary | |
double[] |
getDifference(Potential potential)
|
void |
printTo(EasyFile file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected double[] energy
protected Bodies[] bodies
Constructor Detail |
public PotentialEnergyTestCase(double[] e, Bodies[] b)
e
- the energies, a copy is not madeb
- the bodies, a copy is not madeMethod Detail |
public double[] getDifference(Potential potential)
public void printTo(EasyFile file)
|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |