IPotential, IPotentialAtomic, Potential2Spherical, PotentialHardpublic class P2SquareWellBonded extends P2SquareWell
| Modifier and Type | Class | Description |
|---|---|---|
protected static class |
P2SquareWellBonded.RingResult |
| Modifier and Type | Field | Description |
|---|---|---|
protected AtomLeafAgentManager |
agentManager |
|
protected Box |
box |
|
protected P2SquareWellBonded.RingResult |
ringResult |
|
protected double |
solventThermoFrac |
coreDiameter, coreDiameterSquared, dv, epsilon, ignoreOverlap, lambda, lastCollisionVirial, lastCollisionVirialr2, lastCollisionVirialTensor, lastEnergyChange, wellDiameter, wellDiameterSquaredboundary, dr| Constructor | Description |
|---|---|
P2SquareWellBonded(Space space,
AtomLeafAgentManager aam,
double coreDiameter,
double lambda,
double epsilon) |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
areBonded(IAtom a,
IAtom b) |
This function tells you if two atoms are bonded
This could probably be public, although a public version would
need to first re-retrieve agents
|
protected void |
bond(IAtom a,
IAtom b) |
this function will bond atoms a & b together
|
void |
bump(IAtomList pair,
double falseTime) |
Implements collision dynamics between two square-well atoms.
|
protected void |
checkRing(IAtom a,
IAtom b,
int maxBondCount) |
this function will bond atoms a & b together
|
double |
collisionTime(IAtomList atoms,
double falseTime) |
Computes next time of collision of the two atoms, assuming free-flight
kinematics.
|
protected boolean |
full(IAtom a) |
This function will tell the user, if passed an atom weither or not that atom can bond
|
double |
getSolventThermoFrac() |
Returns the fraction of well energy that is gained or lost by an atom
pair when they hop in or leave their well.
|
protected int |
lowest(IAtom a) |
This will tell you what the lowest open space is in atom a
|
void |
setBox(Box newBox) |
Informs the potential of the box on which it acts.
|
void |
setSolventThermoFrac(double newSolventThermoFrac) |
Sets the fraction of well energy that is gained by an atom pair when
they hop in their well.
|
protected void |
unbond(IAtom a,
IAtom b) |
this function unbonds two atoms
|
nBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenergyChange, getCoreDiameter, getCoreDiameterDimension, getEpsilon, getEpsilonDimension, getLambda, getLambdaDimension, getRange, lastCollisionVirial, lastCollisionVirialTensor, setCoreDiameter, setEpsilon, setLambda, uenergyprotected final AtomLeafAgentManager agentManager
protected Box box
protected double solventThermoFrac
protected final P2SquareWellBonded.RingResult ringResult
public P2SquareWellBonded(Space space, AtomLeafAgentManager aam, double coreDiameter, double lambda, double epsilon)
public void setBox(Box newBox)
PotentialsetBox in interface IPotentialsetBox in class Potential2HardSphericalprotected boolean full(IAtom a)
protected int lowest(IAtom a)
protected boolean areBonded(IAtom a, IAtom b)
protected void checkRing(IAtom a, IAtom b, int maxBondCount)
public double collisionTime(IAtomList atoms, double falseTime)
collisionTime in interface PotentialHardcollisionTime in class P2SquareWellpublic void bump(IAtomList pair, double falseTime)
P2SquareWellbump in interface PotentialHardbump in class P2SquareWellpublic double getSolventThermoFrac()
public void setSolventThermoFrac(double newSolventThermoFrac)