IPotential, IPotentialMolecularPotentialEmulCachedpublic class PotentialEmul extends PotentialMolecular
| Modifier and Type | Field | Description |
|---|---|---|
protected Boundary |
boundary |
|
static Unit |
emulEnergyUnit |
|
static java.lang.String |
execPath |
|
protected Vector |
r12Vec |
|
protected double |
r2Core |
|
protected java.lang.String |
templateName |
nBody, space| Modifier | Constructor | Description |
|---|---|---|
|
PotentialEmul(Space space,
java.lang.String templateName) |
|
|
PotentialEmul(Space space,
java.lang.String templateName,
double rCore) |
|
protected |
PotentialEmul(Space space,
java.lang.String templateName,
int nBody,
double rCore) |
| Modifier and Type | Method | Description |
|---|---|---|
protected static int |
countMolecules(java.lang.String templateName) |
|
double |
energy(IMoleculeList molecules) |
Returns the interaction energy between the given molecules.
|
double |
getRange() |
Returns the range over which the potential applies.
|
static void |
main(java.lang.String[] args) |
|
void |
makeInputFile(IMoleculeList molecules) |
|
protected double |
readOutputFile() |
|
protected void |
runEmul() |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnBodyprotected java.lang.String templateName
public static final Unit emulEnergyUnit
protected double r2Core
protected final Vector r12Vec
public static java.lang.String execPath
protected Boundary boundary
public PotentialEmul(Space space, java.lang.String templateName)
public PotentialEmul(Space space, java.lang.String templateName, double rCore)
protected PotentialEmul(Space space, java.lang.String templateName, int nBody, double rCore)
protected static int countMolecules(java.lang.String templateName)
public double energy(IMoleculeList molecules)
PotentialMolecularenergy in interface IPotentialMolecularenergy in class PotentialMolecularprotected double readOutputFile()
public void makeInputFile(IMoleculeList molecules)
protected void runEmul()
public double getRange()
IPotentialgetRange in interface IPotentialgetRange in class PotentialMolecularpublic void setBox(Box box)
PotentialMolecularsetBox in interface IPotentialsetBox in class PotentialMolecularpublic static void main(java.lang.String[] args)