IPotential, IPotentialAtomic, Potential2Spherical, PotentialHardpublic class P2SquareWellBondingCO extends Potential2HardSpherical
| Modifier and Type | Field | Description |
|---|---|---|
protected AtomLeafAgentManager |
agentManager |
|
protected double |
coreDiameter |
|
protected double |
coreDiameterSquared |
|
protected Vector |
drOO |
|
protected Vector |
dv |
|
protected Vector |
dvOO |
|
protected double |
epsilon |
|
protected double |
epsilonBarrier |
|
protected double |
epsilonBonding |
|
protected double |
lambda |
|
protected double |
lastCollisionVirial |
|
protected double |
lastCollisionVirialr2 |
|
protected Tensor |
lastCollisionVirialTensor |
|
protected double |
lastEnergyChange |
|
protected double |
minOOr2 |
|
protected int |
nSurfaceSites |
|
protected P2SquareWellSurface |
potentialCS |
|
protected double |
wellDiameter |
|
protected double |
wellDiameterSquared |
boundary, dr| Constructor | Description |
|---|---|
P2SquareWellBondingCO(Space space,
AtomLeafAgentManager agentManager,
double coreDiameter,
double lambda,
double epsilon,
int nSurfaceSites,
double epsilonBarrier,
double epsilonBonding,
double minOOr) |
| 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 |
energyChange() |
returns change in potential energy due to the last collision
|
double |
getBarrier() |
|
double |
getCoreDiameter() |
Accessor method for core diameter.
|
Dimension |
getCoreDiameterDimension() |
|
double |
getEpsilon() |
Accessor method for depth of well
|
double |
getEpsilonBonding() |
|
Dimension |
getEpsilonDimension() |
|
double |
getLambda() |
Accessor method for well-diameter multiplier.
|
Dimension |
getLambdaDimension() |
|
int |
getNumSurfaceSites() |
|
double |
getRange() |
Returns the range over which the potential applies.
|
double |
lastCollisionVirial() |
Value of the virial from the most recent collision.
|
Tensor |
lastCollisionVirialTensor() |
Value of the virial from the most recent collision, decomposed into it
tensoral elements.
|
void |
setBarrier(double newBarrier) |
|
void |
setCoreDiameter(double c) |
Accessor method for core diameter.
|
void |
setCSPotential(P2SquareWellSurface newPotentialCS) |
|
void |
setEpsilon(double eps) |
Accessor method for depth of well
|
void |
setEpsilonBonding(double newEpsilonBonding) |
|
void |
setLambda(double lam) |
Accessor method for well-diameter multiplier.
|
void |
setNumSurfaceSites(int newNumSurfaceSites) |
|
double |
u(double r2) |
The pair energy u(r^2) with no truncation applied.
|
nBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetBoxprotected double coreDiameter
protected double coreDiameterSquared
protected double wellDiameter
protected double wellDiameterSquared
protected double lambda
protected double epsilon
protected double lastCollisionVirial
protected double lastCollisionVirialr2
protected final Tensor lastCollisionVirialTensor
protected double lastEnergyChange
protected final Vector dv
protected final Vector dvOO
protected final Vector drOO
protected final AtomLeafAgentManager agentManager
protected int nSurfaceSites
protected double epsilonBarrier
protected double epsilonBonding
protected final double minOOr2
protected P2SquareWellSurface potentialCS
public P2SquareWellBondingCO(Space space, AtomLeafAgentManager agentManager, double coreDiameter, double lambda, double epsilon, int nSurfaceSites, double epsilonBarrier, double epsilonBonding, double minOOr)
public double getRange()
IPotentialgetRange in interface IPotentialgetRange in class Potentialpublic void bump(IAtomList pair, double falseTime)
public double lastCollisionVirial()
PotentialHardpublic Tensor lastCollisionVirialTensor()
PotentialHardpublic double collisionTime(IAtomList pair, double falseTime)
public double energy(IAtomList pair)
Potential2HardSphericalenergy in interface IPotentialAtomicenergy in class Potential2HardSphericalpublic double u(double r2)
Potential2HardSphericalu in interface Potential2Sphericalu in class Potential2HardSphericalr2 - the square of the distance between the particles.public double energyChange()
PotentialHardpublic double getCoreDiameter()
public void setCoreDiameter(double c)
public Dimension getCoreDiameterDimension()
public double getLambda()
public void setLambda(double lam)
public Dimension getLambdaDimension()
public double getEpsilon()
public void setEpsilon(double eps)
public Dimension getEpsilonDimension()
public double getBarrier()
public void setBarrier(double newBarrier)
public double getEpsilonBonding()
public void setEpsilonBonding(double newEpsilonBonding)
public int getNumSurfaceSites()
public void setNumSurfaceSites(int newNumSurfaceSites)
public void setCSPotential(P2SquareWellSurface newPotentialCS)