IPotential, IPotentialAtomicpublic class P2HydrogenHindePatkowskiAtomic extends java.lang.Object implements IPotentialAtomic
| Modifier and Type | Field | Description |
|---|---|---|
static double |
blMax |
|
protected Boundary |
boundary |
|
protected Vector |
com0 |
|
protected Vector |
com1 |
|
protected Vector |
dr |
|
java.io.FileWriter |
filePat |
|
protected Vector |
hh0 |
|
protected Vector |
hh1 |
|
protected Vector |
n0 |
|
protected Vector |
n1 |
|
protected P2HydrogenHindeAtomic |
p2Hinde |
|
protected P2HydrogenPatkowskiAtomic |
p2Patkowski |
|
protected boolean |
print |
|
protected static double |
r0 |
|
protected static double |
rMin |
| Constructor | Description |
|---|---|
P2HydrogenHindePatkowskiAtomic(Space space) |
| 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 Boundary boundary
protected Vector dr
protected Vector com0
protected Vector com1
protected Vector hh0
protected Vector hh1
protected Vector n0
protected Vector n1
protected P2HydrogenHindeAtomic p2Hinde
protected P2HydrogenPatkowskiAtomic p2Patkowski
protected static final double r0
protected static final double rMin
public static final double blMax
protected boolean print
public java.io.FileWriter filePat
public P2HydrogenHindePatkowskiAtomic(Space space)
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