IPotential, IPotentialMolecularP2Water3PSoft, P2WaterSPC, P2WaterSPCEpublic class P2Water3P extends PotentialMolecular
| Modifier and Type | Field | Description |
|---|---|---|
protected Boundary |
boundary |
|
protected double |
chargeH |
|
protected double |
chargeHH |
|
protected double |
chargeO |
|
protected double |
chargeOH |
|
protected double |
chargeOO |
|
protected double |
epsilon |
|
protected double |
epsilon4 |
|
protected Vector |
shift |
|
double |
sigma |
|
double |
sigma2 |
|
protected Vector |
work |
nBody, space| Constructor | Description |
|---|---|
P2Water3P(Space space,
double sigma,
double epsilon,
double chargeO,
double chargeH) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IMoleculeList pair) |
Returns the interaction energy between the given molecules.
|
double |
getEpsilon() |
|
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 sigma2
protected double epsilon
protected double epsilon4
protected Boundary boundary
protected final double chargeH
protected final double chargeO
protected final double chargeOO
protected final double chargeOH
protected final double chargeHH
protected final Vector work
protected final Vector shift
public P2Water3P(Space space, double sigma, double epsilon, double chargeO, double chargeH)
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 double getSigma()
public double getEpsilon()