etomica.atom
Class AtomGroupVelocityAverage

java.lang.Object
  extended by etomica.atom.AtomGroupVelocityAverage
All Implemented Interfaces:
Serializable

public class AtomGroupVelocityAverage
extends Object
implements Serializable

Calculates the mass average velocity over a set of atoms. The velocity and mass of the atom passed to getVelocityAverage all its child atoms are used to compute the mass-average velocity (total momentum divided by the total mass).

See Also:
Serialized Form

Constructor Summary
AtomGroupVelocityAverage(ISpace space)
           
 
Method Summary
 IVector getVelocityAverage(IMolecule molecule)
          Returns the mass-average velocity of the given Atom and all its children.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomGroupVelocityAverage

public AtomGroupVelocityAverage(ISpace space)
Method Detail

getVelocityAverage

public IVector getVelocityAverage(IMolecule molecule)
Returns the mass-average velocity of the given Atom and all its children.