IPotential, IPotentialAtomic, PotentialHardpublic class P1HardPeriodic extends Potential1 implements PotentialHard
Potential1.Intramolecular| Modifier and Type | Field | Description | 
|---|---|---|
protected double | 
sigma | 
boundary| Constructor | Description | 
|---|---|
P1HardPeriodic(Space space) | 
 Returns an instance of P1HardPeriodic with sigma = NaN. 
 | 
P1HardPeriodic(Space space,
              double sigma) | 
 Returns an instance of P1HardPeriodic with the given value of sigma (the
 maximum distance between two atoms where they interact) 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
bump(IAtomList a,
    double falseTime) | 
 Performs no action. 
 | 
double | 
collisionTime(IAtomList a,
             double falseTime) | 
 Computes the time of collision of the given atom(s) with the hard
 potential, assuming no intervening collisions. 
 | 
double | 
energy(IAtomList a) | 
 Returns zero. 
 | 
double | 
energyChange() | 
 Returns zero. 
 | 
double | 
getSgima() | 
|
double | 
lastCollisionVirial() | 
 Returns zero. 
 | 
Tensor | 
lastCollisionVirialTensor() | 
 Returns null. 
 | 
void | 
setSigma(double newSigma) | 
getRange, nBody, setBoxclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRange, setBoxpublic P1HardPeriodic(Space space)
public P1HardPeriodic(Space space, double sigma)
public double energy(IAtomList a)
energy in interface IPotentialAtomicenergy in class Potentialpublic double energyChange()
energyChange in interface PotentialHardpublic double collisionTime(IAtomList a, double falseTime)
PotentialHardcollisionTime in interface PotentialHardpublic void setSigma(double newSigma)
public double getSgima()
public void bump(IAtomList a, double falseTime)
bump in interface PotentialHardpublic double lastCollisionVirial()
lastCollisionVirial in interface PotentialHardpublic Tensor lastCollisionVirialTensor()
lastCollisionVirialTensor in interface PotentialHard