IPotential, IPotentialAtomic, PotentialSoftpublic class P4BondTorsionOPLS extends P4BondTorsion
| Constructor | Description |
|---|---|
P4BondTorsionOPLS(Space space,
double a0,
double a1,
double a2,
double a3) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
dUdphi(double phi) |
|
double |
energyAtAngle(double cosphi) |
|
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.
|
static void |
main(java.lang.String[] args) |
|
double |
virial(IAtomList atoms) |
nBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic P4BondTorsionOPLS(Space space, double a0, double a1, double a2, double a3)
public double energyAtAngle(double cosphi)
energyAtAngle in class P4BondTorsionpublic double dUdphi(double phi)
public Vector[] gradient(IAtomList atoms, Tensor pressureTensor)
PotentialSoftgradient in interface PotentialSoftgradient in class P4BondTorsionpublic double virial(IAtomList atoms)
virial in interface PotentialSoftvirial in class P4BondTorsionpublic static void main(java.lang.String[] args)