IPotential, IPotentialAtomicpublic class P2CO2H2OWheatley.P2CO2H2OSCTI extends java.lang.Object implements IPotentialAtomic
| Modifier and Type | Field | Description |
|---|---|---|
protected Vector |
bdrij |
|
protected Vector |
drijRot |
|
protected double |
fac |
|
protected Vector |
ga |
|
protected Vector |
gb |
|
protected Vector[] |
gi |
|
protected double |
mass0 |
|
protected double |
moment0 |
|
protected Vector |
moment1 |
|
protected Vector |
ta |
|
protected Vector |
tb |
|
protected double |
temperature |
|
protected Vector[] |
ti |
|
protected Vector |
tTmp |
| Constructor | Description |
|---|---|
P2CO2H2OSCTI(double temperature) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IAtomList atoms) |
Returns the interaction energy between the given atoms.
|
double |
getRange() |
Returns the range over which the potential applies.
|
int |
nBody() |
The number of atoms on which the potential depends.
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts so that it can
properly consider the boundaries.
|
protected final Vector[] gi
protected final Vector[] ti
protected final double mass0
protected final double moment0
protected final Vector moment1
protected final double temperature
protected final double fac
protected final Vector ga
protected final Vector gb
protected final Vector ta
protected final Vector tb
protected final Vector tTmp
protected final Vector drijRot
protected final Vector bdrij
public double getRange()
IPotentialgetRange in interface IPotentialpublic void setBox(Box box)
IPotentialsetBox in interface IPotentialpublic int nBody()
IPotentialnBody in interface IPotentialpublic double energy(IAtomList atoms)
IPotentialAtomicenergy in interface IPotentialAtomic