IPotential, IPotentialMolecularpublic class P2NitrogenAnisotropic extends PotentialMolecular
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
A1 |
|
protected double |
A2 |
|
protected double |
alpha1 |
|
protected double |
alpha2 |
|
protected double |
B1 |
|
protected Boundary |
boundary |
|
protected double[] |
C |
|
protected double |
chargeP1 |
|
protected double |
chargeP1P1 |
|
protected double |
chargeP1P2 |
|
protected double |
chargeP2 |
|
protected double |
chargeP2P2 |
|
protected Vector |
com1 |
|
protected Vector |
com2 |
|
protected double |
R0 |
|
protected double |
R1 |
|
double |
rC |
|
protected Vector |
rkl |
|
protected Vector |
shift |
|
protected Vector |
work |
|
protected Vector[] |
zk |
|
protected Vector[] |
zl |
nBody, space| Constructor | Description |
|---|---|
P2NitrogenAnisotropic(Space space,
double rC) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IMoleculeList pair) |
Returns the interaction energy between the given molecules.
|
double |
getRange() |
Returns the range over which the potential applies.
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnBodyprotected Boundary boundary
protected final double chargeP1
protected final double chargeP2
protected final double chargeP1P1
protected final double chargeP1P2
protected final double chargeP2P2
protected final double A1
protected final double alpha1
protected final double B1
protected final double A2
protected final double alpha2
protected final double R0
protected final double R1
protected double[] C
protected final Vector work
protected final Vector shift
protected final Vector com1
protected final Vector com2
protected final Vector[] zk
protected final Vector[] zl
protected final Vector rkl
public double rC
public P2NitrogenAnisotropic(Space space, double rC)
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 PotentialMolecular