IPotential
, IPotentialAtomic
public class P2SemiclassicalAtomic extends java.lang.Object implements IPotentialAtomic
http://dx.doi.org/10.1143/JPSJ.53.3765
as described by Schenter
http://dx.doi.org/10.1063/1.1505441
Modifier and Type | Class | Description |
---|---|---|
static interface |
P2SemiclassicalAtomic.AtomInfo |
Modifier and Type | Field | Description |
---|---|---|
protected java.util.Map<AtomType,P2SemiclassicalAtomic.AtomInfo> |
agents |
|
protected double |
fac |
|
protected IPotentialTorque |
p2Classy |
|
protected Space |
space |
|
protected double |
temperature |
Constructor | Description |
---|---|
P2SemiclassicalAtomic(Space space,
IPotentialTorque p2Classy,
double temperature) |
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IAtomList molecules) |
Returns the interaction energy between the given atoms.
|
double |
getRange() |
Returns the range over which the potential applies.
|
int |
nBody() |
The number of atoms on which the potential depends.
|
void |
setAtomInfo(AtomType species,
P2SemiclassicalAtomic.AtomInfo moleculeInfo) |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts so that it can
properly consider the boundaries.
|
void |
setTemperature(double newTemperature) |
protected final IPotentialTorque p2Classy
protected final java.util.Map<AtomType,P2SemiclassicalAtomic.AtomInfo> agents
protected final Space space
protected double temperature
protected double fac
public P2SemiclassicalAtomic(Space space, IPotentialTorque p2Classy, double temperature)
public void setAtomInfo(AtomType species, P2SemiclassicalAtomic.AtomInfo moleculeInfo)
public void setTemperature(double newTemperature)
public double getRange()
IPotential
getRange
in interface IPotential
public void setBox(Box box)
IPotential
setBox
in interface IPotential
public int nBody()
IPotential
nBody
in interface IPotential
public double energy(IAtomList molecules)
IPotentialAtomic
energy
in interface IPotentialAtomic