gov.nasa.javaGenes.forceFields
Class AtomicSpecies
java.lang.Object
gov.nasa.javaGenes.forceFields.Species
gov.nasa.javaGenes.forceFields.AtomicSpecies
- public class AtomicSpecies
- extends Species
For a multibody atomic potential, this class is used to indicate what
atomic element a body has. Also contains two cutoffs (in angstroms).
- See Also:
Body
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
element
protected Element element
cutoff
protected double cutoff
toInnerCutoff
protected double toInnerCutoff
AtomicSpecies
public AtomicSpecies(Atom a)
AtomicSpecies
public AtomicSpecies(Element e)
AtomicSpecies
public AtomicSpecies(java.lang.String symbol)
AtomicSpecies
public AtomicSpecies(java.lang.String symbol,
double inCutoff,
double inToInnerCutoff)
AtomicSpecies
public AtomicSpecies(java.lang.String symbol,
double inCutoff)
toString
public java.lang.String toString()
getElementName
public java.lang.String getElementName()
getCutoff
public double getCutoff()
getToInnerCuttof
public double getToInnerCuttof()
equals
public boolean equals(java.lang.Object object)
- Returns:
- true if the atomic numbers are the same
hashCode
public int hashCode()