IPotential
, IPotentialMolecular
P2CO2EMP1
, P2CO2EMP2
, P2CO2TraPPE
public 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, wait
nBody
protected 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)
PotentialMolecular
setBox
in interface IPotential
setBox
in class PotentialMolecular
public double energy(IMoleculeList pair)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialMolecular
public double getRange()
IPotential
getRange
in interface IPotential
getRange
in class PotentialMolecular
public double getSigmaC()
public double getSigmaO()
public double getSigmaCO()
public double getEpsilonC()
public double getEpsilonO()
public double getEpsilonCO()