IPotential, IPotentialAtomic, IPotentialTorque, PotentialSoftpublic class P2NitrogenHellmann extends java.lang.Object implements IPotentialAtomic, IPotentialTorque
| Modifier and Type | Class | Description |
|---|---|---|
class |
P2NitrogenHellmann.P2N2QFH |
| Modifier and Type | Field | Description |
|---|---|---|
protected double[][] |
A |
|
protected static double[] |
AA |
|
protected static double[] |
AB |
|
protected double[][] |
alpha |
|
protected static double[] |
alphaA |
|
protected static double[] |
alphaB |
|
protected double[][] |
b |
|
protected static double[] |
bA |
|
protected static double[] |
bB |
|
static double |
blN2 |
|
protected Boundary |
boundary |
|
protected double[][] |
c6 |
|
protected static double[] |
c6A |
|
protected static double[] |
c6B |
|
protected static double |
dHSCore |
|
protected Vector[][] |
gradientAndTorque |
|
protected static double |
massN2 |
|
protected static double |
moment |
|
boolean |
parametersB |
|
protected double[] |
pos |
|
protected double[] |
q |
|
protected static double[] |
qA |
|
protected static double[] |
qB |
|
protected static int[] |
siteID |
|
protected static double[] |
sitePosA |
|
protected static double[] |
sitePosB |
|
protected Space |
space |
| Constructor | Description |
|---|---|
P2NitrogenHellmann(Space space) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IAtomList atoms) |
Returns the interaction energy between the given atoms.
|
protected double |
f6(double bR) |
|
protected void |
fillData() |
|
double |
getRange() |
Returns the range over which the potential applies.
|
Vector[] |
gradient(IAtomList atoms) |
Returns the gradient of the potential as it applies to each atom in the
given AtomSet, indicating how the energy would change as the position of
the first atom is varied.
|
Vector[] |
gradient(IAtomList atoms,
Tensor pressureTensor) |
Returns the same gradient as gradient(AtomSet) and also adds in the
contribution of the AtomSet to the pressureTensor.
|
Vector[][] |
gradientAndTorque(IAtomList atoms) |
|
static void |
main(java.lang.String[] args) |
|
P2NitrogenHellmann.P2N2QFH |
makeQFH(double temperature) |
|
int |
nBody() |
The number of atoms on which the potential depends.
|
static void |
rotateBy(double cdt,
double sdt,
Vector axis,
Vector direction) |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts so that it can
properly consider the boundaries.
|
double |
virial(IAtomList atoms) |
|
double |
vN2Angles(double R12,
double th1,
double th2,
double phi) |
protected Boundary boundary
protected final double[][] A
protected final double[][] alpha
protected final double[][] b
protected final double[][] c6
protected static final int[] siteID
protected double[] q
protected double[] pos
public boolean parametersB
protected static final double[] AA
protected static final double[] alphaA
protected static final double[] bA
protected static final double[] qA
protected static final double[] c6A
protected static final double[] sitePosA
protected static final double[] AB
protected static final double[] alphaB
protected static final double[] bB
protected static final double[] qB
protected static final double[] c6B
protected static final double[] sitePosB
protected static final double dHSCore
protected final Space space
protected static final double massN2
public static final double blN2
protected static final double moment
protected final Vector[][] gradientAndTorque
public P2NitrogenHellmann(Space space)
public static void main(java.lang.String[] args)
public double vN2Angles(double R12,
double th1,
double th2,
double phi)
protected double f6(double bR)
protected void fillData()
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 IPotentialAtomicpublic P2NitrogenHellmann.P2N2QFH makeQFH(double temperature)
public Vector[][] gradientAndTorque(IAtomList atoms)
gradientAndTorque in interface IPotentialTorquepublic double virial(IAtomList atoms)
virial in interface PotentialSoftpublic Vector[] gradient(IAtomList atoms)
PotentialSoftgradient in interface PotentialSoftpublic Vector[] gradient(IAtomList atoms, Tensor pressureTensor)
PotentialSoftgradient in interface PotentialSoft