IPotential
, IPotentialAtomic
, PotentialSoft
public 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) |
nBody
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public P4BondTorsionOPLS(Space space, double a0, double a1, double a2, double a3)
public double energyAtAngle(double cosphi)
energyAtAngle
in class P4BondTorsion
public double dUdphi(double phi)
public Vector[] gradient(IAtomList atoms, Tensor pressureTensor)
PotentialSoft
gradient
in interface PotentialSoft
gradient
in class P4BondTorsion
public double virial(IAtomList atoms)
virial
in interface PotentialSoft
virial
in class P4BondTorsion
public static void main(java.lang.String[] args)