IPotential
, IPotentialAtomic
public class P1MagneticField extends Potential1
Potential1.Intramolecular
boundary
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, wait
getRange, setBox
public P1MagneticField(Space space)
space
- public double energy(IAtomList atoms)
Potential
energy
in interface IPotentialAtomic
energy
in class Potential
public 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.