JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.forceFields
Class AtomicSpecies

java.lang.Object
  extended bygov.nasa.javaGenes.forceFields.Species
      extended bygov.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

Field Summary
protected  double cutoff
           
protected  Element element
           
protected  double toInnerCutoff
           
 
Constructor Summary
AtomicSpecies(Atom a)
           
AtomicSpecies(Element e)
           
AtomicSpecies(java.lang.String symbol)
           
AtomicSpecies(java.lang.String symbol, double inCutoff)
           
AtomicSpecies(java.lang.String symbol, double inCutoff, double inToInnerCutoff)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 double getCutoff()
           
 java.lang.String getElementName()
           
 double getToInnerCuttof()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

element

protected Element element

cutoff

protected double cutoff

toInnerCutoff

protected double toInnerCutoff
Constructor Detail

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)
Method Detail

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()

JavaGenes, NASA Ames. Written largely by Al Globus