IPotential, IPotentialAtomic, Potential2Spherical, PotentialHardpublic class P2HardSphereMC extends P2HardSphere
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
bondFac |
|
protected AtomLeafAgentManager<? extends IAtomList> |
bondManager |
|
protected int |
chainLength |
|
protected ISpecies |
speciesMonomer |
collisionDiameter, dv, ignoreOverlap, lastCollisionVirial, lastCollisionVirialr2, lastCollisionVirialTensor, sig2boundary, dr| Constructor | Description |
|---|---|
P2HardSphereMC(Space space,
AtomLeafAgentManager<? extends IAtomList> bondManager,
ISpecies speciesMonomer) |
| Modifier and Type | Method | Description |
|---|---|---|
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) |
nBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbump, energyChange, getCollisionDiameter, getCollisionDiameterDimension, getRange, lastCollisionVirial, lastCollisionVirialTensor, setCollisionDiameter, usetBoxprotected int chainLength
protected final AtomLeafAgentManager<? extends IAtomList> bondManager
protected double bondFac
protected final ISpecies speciesMonomer
public P2HardSphereMC(Space space, AtomLeafAgentManager<? extends IAtomList> bondManager, ISpecies speciesMonomer)
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 P2HardSpherepublic void setBondFac(double newBondFac)
public double getBondFac()