etomica.atom
Class AtomGroupVelocityAverage
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomGroupVelocityAverage
public AtomGroupVelocityAverage(ISpace space)
getVelocityAverage
public IVector getVelocityAverage(IMolecule molecule)
- Returns the mass-average velocity of the given Atom and
all its children.