IPotential, IPotentialAtomicpublic class P2HardAssociationConeSW extends Potential2
| Modifier and Type | Field | Description |
|---|---|---|
static boolean |
FLAG |
| Constructor | Description |
|---|---|
P2HardAssociationConeSW(Space space,
double sigma,
double epsilon,
double cutoffFactorLJ,
double wellConstant) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IAtomList atoms) |
Returns the pair potential energy.
|
double |
getCutoffFactorLJ() |
Accessor method for Lennard-Jones cutoff distance; divided by sigma
|
static Dimension |
getCutoffFactorLJDimension() |
|
double |
getEpsilon() |
Accessor method for Lennard-Jones energy parameter
|
static Dimension |
getEpsilonDimension() |
|
double |
getRange() |
Returns sigma * cutoffFactor.
|
double |
getSigma() |
Accessor method for Lennard-Jones size parameter
|
static Dimension |
getSigmaDimension() |
|
double |
getTheta() |
Accessor method for angle describing width of cone.
|
Dimension |
getThetaDimension() |
|
double |
getWellCutoffFactor() |
Accessor method for attractive-well diameter divided by sigma
|
static Dimension |
getWellCutoffFactorDimension() |
|
double |
getWellEpsilon() |
Accessor method for attractive-well depth parameter.
|
static Dimension |
getWellEpsilonDimension() |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
void |
setCutoffFactorLJ(double rc) |
Accessor method for Lennard-Jones cutoff distance; divided by sigma
|
void |
setEpsilon(double eps) |
Accessor method for depth of well
|
void |
setInnerWellCutoffFactor(double wcut) |
|
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.
|
void |
setWellCutoffFactor(double wcut) |
Accessor method for attractive-well diameter divided by sigma;
|
void |
setWellEpsilon(double weps) |
Accessor method for attractive-well depth parameter.
|
public P2HardAssociationConeSW(Space space, double sigma, double epsilon, double cutoffFactorLJ, double wellConstant)
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 getCutoffFactorLJ()
public void setCutoffFactorLJ(double rc)
rc - cutoff distance, divided by size parameter (sigma)public static final Dimension getCutoffFactorLJDimension()
public double getWellCutoffFactor()
public void setWellCutoffFactor(double wcut)
public void setInnerWellCutoffFactor(double wcut)
public static final Dimension getWellCutoffFactorDimension()
public double getEpsilon()
public void setEpsilon(double eps)
public static final Dimension getEpsilonDimension()
public double getWellEpsilon()
public void setWellEpsilon(double weps)
public static final Dimension getWellEpsilonDimension()
public double getTheta()
public void setTheta(double t)
public Dimension getThetaDimension()
public void setBox(Box box)
PotentialsetBox in interface IPotentialsetBox in class Potential