Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void doCalculation(IAtomList atoms,
Adds to the virial sum the energy values obtained from application of the given potential to the
atoms produced by the given iterator. Iterator is reset by method before beginning calculation.
- Specified by:
doCalculation in interface
atoms - IAtomSet the atom sets for which the calculation is performed.
potential - The potential used to apply the action defined by this class.
public PotentialCalculationHyperVirialSum zeroSum()
Sets the virial sum to zero, typically to begin a new virial-sum calculation.
- this instance, so the method can be called in-line as the instance is
passed to the PotentialMaster.