IPotential, IPotentialMolecularpublic class PotentialEmulCached extends PotentialEmul
| Modifier and Type | Field | Description |
|---|---|---|
protected int[] |
ids |
|
protected int |
lastCPairID |
|
protected double[] |
lastEnergies |
|
protected int |
maxNumAtoms |
boundary, emulEnergyUnit, execPath, r12Vec, r2Core, templateNamenBody, space| Constructor | Description |
|---|---|
PotentialEmulCached(Space space,
java.lang.String templateName,
double rCore,
int maxNumAtoms) |
|
PotentialEmulCached(Space space,
java.lang.String templateName,
int maxNumAtoms) |
|
PotentialEmulCached(Space space,
java.lang.String templateName,
int nBody,
double rCore,
int maxNumAtoms) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IMoleculeList molecules) |
Returns the interaction energy between the given molecules.
|
void |
setBox(Box newBox) |
Informs the potential of the box on which it acts.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountMolecules, getRange, main, makeInputFile, readOutputFile, runEmulnBodyprotected int lastCPairID
protected final int maxNumAtoms
protected final double[] lastEnergies
protected final int[] ids
public PotentialEmulCached(Space space, java.lang.String templateName, int maxNumAtoms)
public PotentialEmulCached(Space space, java.lang.String templateName, double rCore, int maxNumAtoms)
public PotentialEmulCached(Space space, java.lang.String templateName, int nBody, double rCore, int maxNumAtoms)
public double energy(IMoleculeList molecules)
PotentialMolecularenergy in interface IPotentialMolecularenergy in class PotentialEmulpublic void setBox(Box newBox)
PotentialMolecularsetBox in interface IPotentialsetBox in class PotentialEmul