public class PotentialMasterSite extends PotentialMasterNbr
PotentialMaster.AtomIterator0, PotentialMaster.MoleculeIterator0, PotentialMaster.PotentialLinker
enabled, isPotentialHard, iteratorFactory, lrcMaster, potentialList
criteria, criteria1Body, potentials0body, rangedPotentials, rangedPotentials1Body, simulation
Modifier | Constructor | Description |
---|---|---|
protected |
PotentialMasterSite(Simulation sim,
int nCells) |
|
|
PotentialMasterSite(Simulation sim,
int nCells,
Space space) |
Invokes superclass constructor, specifying IteratorFactoryCell
for generating molecule iterators.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
addRangedPotentialForTypes(IPotentialAtomic potential,
AtomType[] atomType) |
|
void |
calculate(Box box,
IteratorDirective id,
PotentialCalculation pc) |
Performs the given PotentialCalculation on the atoms of the given Box.
|
void |
calculate(Box box,
PotentialCalculation pc,
boolean includeLrc) |
|
BoxCellManager |
getBoxCellManager(Box box) |
|
int |
getCellRange() |
|
void |
setCellRange(int newCellRange) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPotential, addPotential, getPotential, getPotentials, getSpecies, isEnabled, isEnabled, isEnabled, isPotentialHard, lrcMaster, removePotential, setEnabled, setEnabled, setEnabled, setPotentialHard
addPotential, getCriteria, getCriteria1Body, getCriterion, getIntraPotentials, getRangedPotentials, getRangedPotentials, getRangedPotentials1Body, makePotentialGroup, potentialAddedNotify, removePotential, setBoxForCriteria, setBoxForPotentials, setCriterion, setCriterion1Body
public PotentialMasterSite(Simulation sim, int nCells, Space space)
protected PotentialMasterSite(Simulation sim, int nCells)
public int getCellRange()
public void setCellRange(int newCellRange)
newCellRange
- The cellRange to set.protected void addRangedPotentialForTypes(IPotentialAtomic potential, AtomType[] atomType)
addRangedPotentialForTypes
in class PotentialMasterNbr
public BoxCellManager getBoxCellManager(Box box)
getBoxCellManager
in class PotentialMasterNbr
public void calculate(Box box, PotentialCalculation pc, boolean includeLrc)
public void calculate(Box box, IteratorDirective id, PotentialCalculation pc)
PotentialMaster
calculate
in class PotentialMaster