IPotential, IPotentialMolecularP2CO2EMP1, P2CO2EMP2, P2CO2TraPPEpublic class P2CO2EMP extends PotentialMolecular
| Modifier and Type | Field | Description |
|---|---|---|
protected Boundary |
boundary |
|
protected double |
chargeCC |
|
protected double |
chargeCO |
|
protected double |
chargeOO |
|
protected double |
epsilonC |
|
protected double |
epsilonCO |
|
protected double |
epsilonO |
|
protected double |
rCut2 |
|
protected Vector |
shift |
|
double |
sigmaC |
|
double |
sigmaC2 |
|
double |
sigmaCO |
|
double |
sigmaCO2 |
|
double |
sigmaO |
|
double |
sigmaO2 |
|
protected Vector |
work |
nBody, space| Constructor | Description |
|---|---|
P2CO2EMP(Space space,
double sigmaC,
double sigmaCO,
double sigmaO,
double epsilonC,
double epsilonCO,
double epsilonO,
double chargeC) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IMoleculeList pair) |
Returns the interaction energy between the given molecules.
|
double |
getEpsilonC() |
|
double |
getEpsilonCO() |
|
double |
getEpsilonO() |
|
double |
getRange() |
Returns the range over which the potential applies.
|
double |
getSigmaC() |
|
double |
getSigmaCO() |
|
double |
getSigmaO() |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
void |
setRange(double newRange) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnBodyprotected final double chargeCC
protected final double chargeCO
protected final double chargeOO
protected final Vector work
protected final Vector shift
public double sigmaC
public double sigmaC2
public double sigmaO
public double sigmaO2
public double sigmaCO
public double sigmaCO2
protected double epsilonC
protected double epsilonO
protected double epsilonCO
protected Boundary boundary
protected double rCut2
public P2CO2EMP(Space space, double sigmaC, double sigmaCO, double sigmaO, double epsilonC, double epsilonCO, double epsilonO, double chargeC)
public void setRange(double newRange)
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 getSigmaC()
public double getSigmaO()
public double getSigmaCO()
public double getEpsilonC()
public double getEpsilonO()
public double getEpsilonCO()