IPotential
, IPotentialMolecular
public class P2QChem extends PotentialMolecular
Modifier and Type | Field | Description |
---|---|---|
protected Boundary |
boundary |
nBody, space
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IMoleculeList atoms) |
Returns the interaction energy between the given molecules.
|
double |
getRange() |
Returns the range over which the potential applies.
|
void |
makeInputFile(Vector atomPos1,
Vector atomPos2) |
|
void |
runQChem() |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nBody
protected Boundary boundary
public P2QChem(Space space)
public double energy(IMoleculeList atoms)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialMolecular
public void runQChem()
public double getRange()
IPotential
getRange
in interface IPotential
getRange
in class PotentialMolecular
public void setBox(Box box)
PotentialMolecular
setBox
in interface IPotential
setBox
in class PotentialMolecular