etomica.atom
Class AtomLeafDynamic

java.lang.Object
  extended by etomica.atom.Atom
      extended by etomica.atom.AtomLeafDynamic
All Implemented Interfaces:
IAtom, IAtomKinetic, Serializable
Direct Known Subclasses:
AtomOrientedDynamic

public class AtomLeafDynamic
extends Atom
implements IAtomKinetic

See Also:
Serialized Form

Field Summary
protected  IVectorMutable velocity
           
 
Fields inherited from class etomica.atom.Atom
index, leafIndex, parent, position, type
 
Constructor Summary
AtomLeafDynamic(ISpace space, IAtomType type)
           
 
Method Summary
 IVectorMutable getVelocity()
          Returns the velocity of the IAtom.
 
Methods inherited from class etomica.atom.Atom
getIndex, getLeafIndex, getParentGroup, getPosition, getType, setIndex, setLeafIndex, setParent, signature, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface etomica.api.IAtom
getIndex, getLeafIndex, getParentGroup, getPosition, getType, setIndex, setLeafIndex, setParent
 

Field Detail

velocity

protected final IVectorMutable velocity
Constructor Detail

AtomLeafDynamic

public AtomLeafDynamic(ISpace space,
                       IAtomType type)
Method Detail

getVelocity

public IVectorMutable getVelocity()
Description copied from interface: IAtomKinetic
Returns the velocity of the IAtom. Modifying the returned IVector will alter the IAtom's velocity.

Specified by:
getVelocity in interface IAtomKinetic