IPotential
, IPotentialAtomic
public class P2HydrogenHindeAtomic extends java.lang.Object implements IPotentialAtomic
Modifier and Type | Field | Description |
---|---|---|
protected double[][][] |
arep |
|
protected Boundary |
boundary |
|
protected double[][] |
c5 |
|
protected double[][][] |
c6 |
|
protected double[][][] |
c8 |
|
protected double[][][][][] |
coef |
|
protected Vector |
com0 |
|
protected Vector |
com1 |
|
protected double[][][] |
crep |
|
protected double[][] |
cten |
|
protected Vector |
dr |
|
protected Vector |
hh0 |
|
protected Vector |
hh1 |
|
protected Vector |
n0 |
|
protected Vector |
n1 |
Constructor | Description |
---|---|
P2HydrogenHindeAtomic(Space space) |
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IAtomList atoms) |
Returns the interaction energy between the given atoms.
|
protected void |
fillData() |
|
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.
|
double |
vH2H2(double r,
double r1,
double r2,
double th1,
double th2,
double phi) |
protected final double[][][][][] coef
protected final double[][][] arep
protected final double[][][] crep
protected final double[][] c5
protected final double[][][] c6
protected final double[][][] c8
protected final double[][] cten
protected Boundary boundary
protected final Vector dr
protected final Vector com0
protected final Vector com1
protected final Vector hh0
protected final Vector hh1
protected final Vector n0
protected final Vector n1
public P2HydrogenHindeAtomic(Space space)
public double vH2H2(double r, double r1, double r2, double th1, double th2, double phi)
protected void fillData()
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