IPotential
, IPotentialAtomic
public 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()
IPotential
getRange
in interface IPotential
public void setBox(Box box)
IPotential
setBox
in interface IPotential
public int nBody()
IPotential
nBody
in interface IPotential
public double energy(IAtomList atoms)
IPotentialAtomic
energy
in interface IPotentialAtomic