IPotential
, IPotentialAtomic
, PotentialHard
public class P1HardWall extends Potential1 implements PotentialHard
Potential1.Intramolecular
boundary
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, setBox
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRange, setBox
public P1HardWall(Space space)
public P1HardWall(Space space, double sigma)
public double energy(IAtomList a)
Potential
energy
in interface IPotentialAtomic
energy
in class Potential
public double collisionTime(IAtomList a, double falseTime)
PotentialHard
collisionTime
in interface PotentialHard
public void bump(IAtomList a, double falseTime)
PotentialHard
bump
in interface PotentialHard
public double energyChange()
PotentialHard
energyChange
in interface PotentialHard
public double lastCollisionVirial()
lastCollisionVirial
in interface PotentialHard
public Tensor lastCollisionVirialTensor()
lastCollisionVirialTensor
in interface PotentialHard
public void setCollisionRadius(double d)
public double getCollisionRadius()
public Dimension getCollisionRadiusDimension()