IPotential
, IPotentialMolecular
public static class VirialB2WaterTIP4P_DHS_difference.P2WaterDHS extends PotentialMolecular
Modifier and Type | Field | Description |
---|---|---|
protected Boundary |
boundary |
|
double |
sigma |
|
double |
sigmaHS2 |
nBody, space
Constructor | Description |
---|---|
P2WaterDHS(Space space,
double sigma,
double mu) |
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IMoleculeList pair) |
Returns the interaction energy between the given molecules.
|
Vector |
getDipole1() |
|
Vector |
getDipole2() |
|
double |
getRange() |
Returns the range over which the potential applies.
|
double |
getSigma() |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nBody
public double sigma
public double sigmaHS2
protected Boundary boundary
public P2WaterDHS(Space space, double sigma, double mu)
public void setBox(Box box)
PotentialMolecular
setBox
in interface IPotential
setBox
in class PotentialMolecular
public double energy(IMoleculeList pair)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialMolecular
public double getRange()
IPotential
getRange
in interface IPotential
getRange
in class PotentialMolecular
public Vector getDipole1()
public Vector getDipole2()
public double getSigma()