IPotential
, IPotentialAtomic
, PotentialSoft
public class P1LepsHarmonic extends Potential1 implements PotentialSoft
Potential1.Intramolecular
Modifier and Type | Field | Description |
---|---|---|
double |
a |
|
double |
A1 |
|
double |
A2 |
|
double |
alpha |
|
double |
b |
|
double |
c |
|
double |
cs |
|
double |
dab |
|
double |
dac |
|
double |
dbc |
|
double |
kc |
|
double |
rac |
|
double |
rzero |
|
double |
sx1 |
|
double |
sx2 |
|
double |
sy1 |
|
double |
sy2 |
|
double |
xz1 |
|
double |
xz2 |
|
double |
yz1 |
|
double |
yz2 |
boundary
Constructor | Description |
---|---|
P1LepsHarmonic(Space space) |
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IAtomList atom) |
Returns the interaction energy between the given atoms.
|
Vector[] |
gradient(IAtomList atom) |
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 atom,
Tensor pressureTensor) |
Returns the same gradient as gradient(AtomSet) and also adds in the
contribution of the AtomSet to the pressureTensor.
|
double |
virial(IAtomList atom) |
getRange, nBody, setBox
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRange, setBox
public double alpha
public double dab
public double dbc
public double dac
public double rzero
public double rac
public double a
public double b
public double c
public double kc
public double cs
public double A1
public double A2
public double xz1
public double xz2
public double yz1
public double yz2
public double sx1
public double sx2
public double sy1
public double sy2
public P1LepsHarmonic(Space space)
public double energy(IAtomList atom)
Potential
energy
in interface IPotentialAtomic
energy
in class Potential
public Vector[] gradient(IAtomList atom)
PotentialSoft
gradient
in interface PotentialSoft
public Vector[] gradient(IAtomList atom, Tensor pressureTensor)
PotentialSoft
gradient
in interface PotentialSoft
public double virial(IAtomList atom)
virial
in interface PotentialSoft