IPotential
, IPotentialAtomic
, Potential2Spherical
, PotentialHard
public 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, wellDiameterSquared
boundary, 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) |
nBody
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
energyChange, getCoreDiameter, getCoreDiameterDimension, getEpsilon, getEpsilonDimension, getLambda, getLambdaDimension, getRange, lastCollisionVirial, lastCollisionVirialTensor, setCoreDiameter, setEpsilon, setLambda, u
setBox
protected 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)
Potential2HardSpherical
energy
in interface IPotentialAtomic
energy
in class Potential2HardSpherical
public double collisionTime(IAtomList pair, double falseTime)
collisionTime
in interface PotentialHard
collisionTime
in class P2SquareWell
public void bump(IAtomList pair, double falseTime)
P2SquareWell
bump
in interface PotentialHard
bump
in class P2SquareWell
public void setBondFac(double newBondFac)
public double getBondFac()