IPotential, IPotentialMolecularpublic class P2WaterTIP4PHardCore extends PotentialMolecular
add a hard core for dielectric virial calculation cannot be used for MC simulation! no nearest boudary condition is used!!!!!
| Modifier and Type | Field | Description |
|---|---|---|
protected Boundary |
boundary |
|
protected double |
chargeH |
|
protected double |
chargeHH |
|
protected double |
chargeM |
|
protected double |
chargeMH |
|
protected double |
chargeMM |
|
protected double |
epsilon |
|
protected double |
epsilon4 |
|
double |
hardCore |
|
double |
sigma |
|
double |
sigma2 |
nBody, space| Constructor | Description |
|---|---|
P2WaterTIP4PHardCore(Space space,
double hardCore,
double sigma,
double epsilon,
double chargeM,
double chargeH) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IMoleculeList pair) |
Returns the interaction energy between the given molecules.
|
Vector |
getDipole1() |
|
Vector |
getDipole2() |
|
double |
getEpsilon() |
|
double |
getRange() |
Returns the range over which the potential applies.
|
double |
getSigma() |
|
double |
getU_DipoleDipole() |
|
double |
getULJAtDipoleCenter() |
|
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
public double hardCore
protected Boundary boundary
protected final double chargeH
protected final double chargeM
protected final double chargeMM
protected final double chargeMH
protected final double chargeHH
public P2WaterTIP4PHardCore(Space space, double hardCore, double sigma, double epsilon, double chargeM, 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 Vector getDipole1()
public Vector getDipole2()
public double getULJAtDipoleCenter()
public double getU_DipoleDipole()
public double getRange()
IPotentialgetRange in interface IPotentialgetRange in class PotentialMolecularpublic double getSigma()
public double getEpsilon()