IPotential
, IPotentialAtomic
public class P2HardAssociationConeReference extends Potential2
Modifier and Type | Field | Description |
---|---|---|
static boolean |
FLAG |
Constructor | Description |
---|---|
P2HardAssociationConeReference(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 P2HardAssociationConeReference(Space space, double sigma)
public double getRange()
getRange
in interface IPotential
getRange
in class Potential
public double energy(IAtomList atoms)
energy
in interface IPotentialAtomic
energy
in class Potential
public 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)
Potential
setBox
in interface IPotential
setBox
in class Potential