IPotential, IPotentialMolecularpublic 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, waitnBodypublic double sigma
public double sigmaHS2
protected Boundary boundary
public P2WaterDHS(Space space, double sigma, double mu)
public void setBox(Box box)
PotentialMolecularsetBox in interface IPotentialsetBox in class PotentialMolecularpublic double energy(IMoleculeList pair)
PotentialMolecularenergy in interface IPotentialMolecularenergy in class PotentialMolecularpublic double getRange()
IPotentialgetRange in interface IPotentialgetRange in class PotentialMolecularpublic Vector getDipole1()
public Vector getDipole2()
public double getSigma()