IPotential, IPotentialAtomicP1HardBoundary, P1HardMovingBoundary, P1HardPeriodic, P1HardWall, P1MagicWall, P1Wall, P1Wall, P2DoubleWell, P2HardAssociation, P2HardBond, P2HardBondedList, P2HardSphere, P2HardSphereCavity, P2HardSphereMC, P2HardSpherePoly, P2HardWrapper, P2Ideal, P2PenetrableBond, P2PenetrableSphere, P2PenetrableSquareWell, P2RoughSphere, P2SquareWell, P2SquareWellBonded, P2SquareWellBonded, P2SquareWellBonding, P2SquareWellBondingCO, P2SquareWellMonomer, P2SquareWellOneSide, P2SquareWellRadical, P2SquareWellRobust, P2SquareWellSurface, P2Tether, P2XOrder, Potential2HardSphericalpublic interface PotentialHard extends IPotentialAtomic
| Modifier and Type | Method | Description |
|---|---|---|
void |
bump(IAtomList atom,
double falseTime) |
Implements the collision dynamics.
|
double |
collisionTime(IAtomList atom,
double falseTime) |
Computes the time of collision of the given atom(s) with the hard
potential, assuming no intervening collisions.
|
double |
energyChange() |
returns change in potential energy due to the last collision
|
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.
|
getRange, nBody, setBoxenergydouble lastCollisionVirial()
Tensor lastCollisionVirialTensor()
void bump(IAtomList atom, double falseTime)
double collisionTime(IAtomList atom, double falseTime)
double energyChange()