IPotential, IPotentialMolecularpublic class P2SemiclassicalMolecular extends java.lang.Object implements IPotentialMolecular
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
P2SemiclassicalMolecular.MoleculeInfo |
|
static class |
P2SemiclassicalMolecular.MoleculeInfoBrute |
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
fac |
|
protected IPotentialMolecularTorque |
p2Classy |
|
protected Space |
space |
|
protected double |
temperature |
| Constructor | Description |
|---|---|
P2SemiclassicalMolecular(Space space,
IPotentialMolecularTorque p2Classy) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IMoleculeList 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 |
setBox(Box box) |
Informs the potential of the box on which it acts so that it can
properly consider the boundaries.
|
void |
setMoleculeInfo(ISpecies species,
P2SemiclassicalMolecular.MoleculeInfo moleculeInfo) |
|
void |
setTemperature(double newTemperature) |
protected final IPotentialMolecularTorque p2Classy
protected double temperature
protected double fac
protected final Space space
public P2SemiclassicalMolecular(Space space, IPotentialMolecularTorque p2Classy)
public void setMoleculeInfo(ISpecies species, P2SemiclassicalMolecular.MoleculeInfo moleculeInfo)
public void setTemperature(double newTemperature)
public double getRange()
IPotentialgetRange in interface IPotentialpublic void setBox(Box box)
IPotentialsetBox in interface IPotentialpublic int nBody()
IPotentialnBody in interface IPotentialpublic double energy(IMoleculeList molecules)
IPotentialMolecularenergy in interface IPotentialMolecular