IPotential
, IPotentialMolecular
public class PotentialGroupPI extends PotentialGroup
Modifier and Type | Class | Description |
---|---|---|
class |
PotentialGroupPI.PotentialGroupPISkip |
PotentialGroup.PotentialLinker
Modifier and Type | Field | Description |
---|---|---|
protected long |
lastBoxIndex |
|
protected long |
lastPairID |
|
protected boolean[] |
pairDone |
|
protected double[][] |
uBeads |
box, criterion, first, potentialMaster
nBody, space
Constructor | Description |
---|---|
PotentialGroupPI(int beadFac) |
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IMoleculeList molecules) |
Returns the interaction energy between the given molecules.
|
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
addPotential, addPotential, addPotential, calculate, contains, getAtomTypes, getPotentials, getRange, isEnabled, removePotential, setEnabled, setPotentialMaster
nBody
protected final double[][] uBeads
protected boolean[] pairDone
protected long lastPairID
protected long lastBoxIndex
public void setBox(Box box)
PotentialMolecular
setBox
in interface IPotential
setBox
in class PotentialGroup
public double energy(IMoleculeList molecules)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialGroup