IPotential, IPotentialAtomic, Potential2Spherical, PotentialHardpublic class P2Tether extends Potential2HardSpherical
boundary, dr| Constructor | Description |
|---|---|
P2Tether(Space space) |
|
P2Tether(Space space,
double tetherLength,
boolean ignoreOverlap) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
bump(IAtomList pair,
double falseTime) |
Implements collision dynamics for pair attempting to separate beyond tether distance
|
double |
collisionTime(IAtomList pair,
double falseTime) |
Time at which two atoms will reach the end of their tether, assuming free-flight kinematics
|
double |
energyChange() |
returns change in potential energy due to the last collision
|
double |
getRange() |
Returns the tether length.
|
double |
getTetherLength() |
Accessor method for the tether distance
|
Dimension |
getTetherLengthDimension() |
|
double |
lastCollisionVirial() |
Value of the virial from the most recent collision.
|
Tensor |
lastCollisionVirialTensor() |
Value of the virial from the most recent collision, decomposed into it
tensoral elements.
|
void |
setTetherLength(double t) |
Accessor method for the tether distance
|
double |
u(double r2) |
Returns infinity if separation is greater than tether distance, zero otherwise
|
nBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenergy, setBoxpublic P2Tether(Space space)
public P2Tether(Space space, double tetherLength, boolean ignoreOverlap)
public double getTetherLength()
public void setTetherLength(double t)
public Dimension getTetherLengthDimension()
public final void bump(IAtomList pair, double falseTime)
public final double lastCollisionVirial()
PotentialHardpublic final Tensor lastCollisionVirialTensor()
PotentialHardpublic double getRange()
getRange in interface IPotentialgetRange in class Potentialpublic final double collisionTime(IAtomList pair, double falseTime)
public double u(double r2)
u in interface Potential2Sphericalu in class Potential2HardSphericalr2 - the square of the distance between the particles.public double energyChange()
PotentialHard