IPotential, IPotentialAtomic, PotentialHardpublic class P1HardWall extends Potential1 implements PotentialHard
Potential1.Intramolecularboundary| Constructor | Description |
|---|---|
P1HardWall(Space space) |
|
P1HardWall(Space space,
double sigma) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
bump(IAtomList a,
double falseTime) |
Implements the collision dynamics.
|
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 the interaction energy between the given atoms.
|
double |
energyChange() |
returns change in potential energy due to the last collision
|
double |
getCollisionRadius() |
Distance from the center of the sphere to the boundary at collision.
|
Dimension |
getCollisionRadiusDimension() |
Indicates collision radius has dimensions of Length.
|
double |
lastCollisionVirial() |
not yet implemented
|
Tensor |
lastCollisionVirialTensor() |
not yet implemented.
|
void |
setCollisionRadius(double d) |
Distance from the center of the sphere to the boundary at collision.
|
getRange, nBody, setBoxclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRange, setBoxpublic P1HardWall(Space space)
public P1HardWall(Space space, double sigma)
public double energy(IAtomList a)
Potentialenergy in interface IPotentialAtomicenergy in class Potentialpublic double collisionTime(IAtomList a, double falseTime)
PotentialHardcollisionTime in interface PotentialHardpublic void bump(IAtomList a, double falseTime)
PotentialHardbump in interface PotentialHardpublic double energyChange()
PotentialHardenergyChange in interface PotentialHardpublic double lastCollisionVirial()
lastCollisionVirial in interface PotentialHardpublic Tensor lastCollisionVirialTensor()
lastCollisionVirialTensor in interface PotentialHardpublic void setCollisionRadius(double d)
public double getCollisionRadius()
public Dimension getCollisionRadiusDimension()