|
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.MultiBody
gov.nasa.javaGenes.forceFields.Body
This is used as a superclass by OneBody, TwoBody, and ThreeBody
Field Summary | |
Species |
species
the species of this body (second body in TwoBody, third body in ThreeBody) |
int |
speciesIndex
the species index. |
Fields inherited from class gov.nasa.javaGenes.forceFields.MultiBody |
_name, howMany |
Constructor Summary | |
Body(Species s)
|
Method Summary | |
void |
scaleLengthsBy(double scaleFactor)
|
protected void |
setSpeciesIndex(Species2IndexMap map)
used to set the species index |
java.lang.String |
tabSeparatedString()
|
boolean |
withinCutoff(Potential form)
|
Methods inherited from class gov.nasa.javaGenes.forceFields.MultiBody |
copy, divideHowManyBy, getHowMany, getName, incrementHowMany, removeInternalElementsOutsideOfCutoff, setHowMany, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Species species
public int speciesIndex
Constructor Detail |
public Body(Species s)
Method Detail |
protected void setSpeciesIndex(Species2IndexMap map)
public void scaleLengthsBy(double scaleFactor)
scaleLengthsBy
in class MultiBody
public boolean withinCutoff(Potential form)
withinCutoff
in class MultiBody
public java.lang.String tabSeparatedString()
tabSeparatedString
in class MultiBody
|
JavaGenes, NASA Ames. Written largely by Al Globus | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |