IPotential, IPotentialAtomic, Potential2Spherical, PotentialHardpublic class P2SquareWellMonomer extends P2SquareWell
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
bondFac |
|
protected AtomLeafAgentManager |
bondManager |
|
protected int |
chainLength |
|
protected double |
rGraftMin2 |
coreDiameter, coreDiameterSquared, dv, epsilon, ignoreOverlap, lambda, lastCollisionVirial, lastCollisionVirialr2, lastCollisionVirialTensor, lastEnergyChange, wellDiameter, wellDiameterSquaredboundary, dr| Constructor | Description |
|---|---|
P2SquareWellMonomer(Space space,
AtomLeafAgentManager bondManager) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
bump(IAtomList pair,
double falseTime) |
Implements collision dynamics between two square-well atoms.
|
double |
collisionTime(IAtomList pair,
double falseTime) |
Computes next time of collision of two square-well atoms, assuming free-flight kinematics.
|
double |
energy(IAtomList pair) |
Energy of the pair as given by the u(double) method, with application
of any PotentialTruncation that may be defined for the potential.
|
double |
getBondFac() |
|
void |
setBondFac(double newBondFac) |
|
void |
setChainLength(int newChainLength) |
|
void |
setRGraftMin(double rGraftMin) |
nBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenergyChange, getCoreDiameter, getCoreDiameterDimension, getEpsilon, getEpsilonDimension, getLambda, getLambdaDimension, getRange, lastCollisionVirial, lastCollisionVirialTensor, setCoreDiameter, setEpsilon, setLambda, usetBoxprotected int chainLength
protected double rGraftMin2
protected final AtomLeafAgentManager bondManager
protected double bondFac
public P2SquareWellMonomer(Space space, AtomLeafAgentManager bondManager)
public void setRGraftMin(double rGraftMin)
public void setChainLength(int newChainLength)
public double energy(IAtomList pair)
Potential2HardSphericalenergy in interface IPotentialAtomicenergy in class Potential2HardSphericalpublic double collisionTime(IAtomList pair, double falseTime)
collisionTime in interface PotentialHardcollisionTime in class P2SquareWellpublic void bump(IAtomList pair, double falseTime)
P2SquareWellbump in interface PotentialHardbump in class P2SquareWellpublic void setBondFac(double newBondFac)
public double getBondFac()