gov.nasa.javaGenes.forceFields
Class ThreeBody
java.lang.Object
gov.nasa.javaGenes.forceFields.MultiBody
gov.nasa.javaGenes.forceFields.ThreeBody
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class ThreeBody
- extends MultiBody
- See Also:
- Serialized Form
Constructor Summary |
ThreeBody(Atom atomi,
Atom atomj,
Atom atomk)
middle atom is center of the three body |
ThreeBody(Atom atomi,
Atom center,
Atom atomk,
UnitCell unitCell)
middle atom is center of the three body |
ThreeBody(java.lang.String atomi,
java.lang.String atomj,
java.lang.String atomk)
|
ThreeBody(java.lang.String atomi,
java.lang.String atomj,
java.lang.String atomk,
double jiDistance,
double jkDistance,
double angleAroundj)
middle atom is center of the three body. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_jiDistance
protected double _jiDistance
_jkDistance
protected double _jkDistance
_angle
protected double _angle
requiresSWextraParameters
protected boolean requiresSWextraParameters
ThreeBody
public ThreeBody(java.lang.String atomi,
java.lang.String atomj,
java.lang.String atomk,
double jiDistance,
double jkDistance,
double angleAroundj)
- middle atom is center of the three body. Order of others is forced to be alphabetic (for comparisons).
ThreeBody
public ThreeBody(java.lang.String atomi,
java.lang.String atomj,
java.lang.String atomk)
ThreeBody
public ThreeBody(Atom atomi,
Atom atomj,
Atom atomk)
- middle atom is center of the three body
ThreeBody
public ThreeBody(Atom atomi,
Atom center,
Atom atomk,
UnitCell unitCell)
- middle atom is center of the three body
requiresStillingWeberFFFform
public boolean requiresStillingWeberFFFform()
isSWspecial
protected boolean isSWspecial(java.lang.String s)
getRJI
public double getRJI()
getRJK
public double getRJK()
getAngle
public double getAngle()
setRJI
public void setRJI(double v)
setRJK
public void setRJK(double v)
setAngle
public void setAngle(double v)
scaleLengthsBy
public void scaleLengthsBy(double scaleFactor)
- Specified by:
scaleLengthsBy
in class MultiBody
withinCutoff
public boolean withinCutoff(Potential potential)
- Specified by:
withinCutoff
in class MultiBody
withinCutoff
public boolean withinCutoff(double cutoff)
isReasonable
public boolean isReasonable()
toString
public java.lang.String toString()
tabSeparatedString
public java.lang.String tabSeparatedString()
- Specified by:
tabSeparatedString
in class MultiBody
nearlyEqual
public boolean nearlyEqual(ThreeBody other)