IPotential
, IPotentialMolecular
PotentialEmulCached
public 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, wait
nBody
protected 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)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialMolecular
protected double readOutputFile()
public void makeInputFile(IMoleculeList molecules)
protected void runEmul()
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
public static void main(java.lang.String[] args)