IPotential, IPotentialAtomicpublic class P2HardAssociationConeReferenceFourSites extends Potential2
| Modifier and Type | Field | Description |
|---|---|---|
static boolean |
FLAG |
| Constructor | Description |
|---|---|
P2HardAssociationConeReferenceFourSites(Space space,
double sigma) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IAtomList atoms) |
Returns the pair potential energy.
|
double |
getRange() |
Returns infinity.
|
double |
getSigma() |
Accessor method for Lennard-Jones size parameter
|
static Dimension |
getSigmaDimension() |
|
double |
getTheta() |
Accessor method for angle describing width of cone.
|
Dimension |
getThetaDimension() |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
void |
setSigma(double s) |
Accessor method for Lennard-Jones size parameter
|
void |
setTheta(double t) |
Accessor method for angle (in radians) describing width of cone.
|
public P2HardAssociationConeReferenceFourSites(Space space, double sigma)
public double getRange()
getRange in interface IPotentialgetRange in class Potentialpublic double energy(IAtomList atoms)
energy in interface IPotentialAtomicenergy in class Potentialpublic double getSigma()
public void setSigma(double s)
public static final Dimension getSigmaDimension()
public double getTheta()
public void setTheta(double t)
public Dimension getThetaDimension()
public void setBox(Box box)
PotentialsetBox in interface IPotentialsetBox in class Potential