IPotential, IPotentialAtomicpublic class P1MagneticField extends Potential1
Potential1.Intramolecularboundary| Constructor | Description |
|---|---|
P1MagneticField(Space space) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IAtomList atoms) |
Returns the interaction energy between the given atoms.
|
Vector |
getDirection() |
|
double |
getH() |
|
void |
setDirection(Vector direction) |
|
void |
setH(double h) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRange, setBoxpublic P1MagneticField(Space space)
space - public double energy(IAtomList atoms)
Potentialenergy in interface IPotentialAtomicenergy in class Potentialpublic Vector getDirection()
public void setDirection(Vector direction)
direction - The direction to set.public double getH()
public void setH(double h)
h - The h to set.