IPotential
, IPotentialMolecular
public 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, wait
nBody
public 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)
PotentialMolecular
setBox
in interface IPotential
setBox
in class PotentialMolecular
public double energy(IMoleculeList pair)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialMolecular
public Vector getDipole1()
public Vector getDipole2()
public double getULJAtDipoleCenter()
public double getU_DipoleDipole()
public double getRange()
IPotential
getRange
in interface IPotential
getRange
in class PotentialMolecular
public double getSigma()
public double getEpsilon()