PotentialMasterCellMixedpublic class PotentialMasterCell extends PotentialMasterNbr
PotentialMaster.AtomIterator0, PotentialMaster.MoleculeIterator0, PotentialMaster.PotentialLinkerenabled, isPotentialHard, iteratorFactory, lrcMaster, potentialListcriteria, criteria1Body, potentials0body, rangedPotentials, rangedPotentials1Body, simulation| Constructor | Description |
|---|---|
PotentialMasterCell(Simulation sim,
double range,
BoxAgentSourceCellManager boxAgentSource) |
|
PotentialMasterCell(Simulation sim,
double range,
Space _space) |
Constructs with null AtomPositionDefinition, which indicates the position
definition given with each atom's AtomType should be used.
|
PotentialMasterCell(Simulation sim,
Space _space) |
Creates PotentialMasterCell with default (1.0) range.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
addRangedPotentialForTypes(IPotentialAtomic potential,
AtomType[] atomType) |
|
protected void |
calculate(IAtom atom,
NeighborIterator neighborIterator,
PotentialCalculation pc,
IteratorDirective.Direction direction) |
|
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) |
|
NeighborCellManager |
getNbrCellManager(Box box) |
|
double |
getRange() |
|
void |
reset() |
Reassign atoms to cell lists for all boxes.
|
void |
setCellRange(int d) |
|
void |
setRange(double d) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPotential, addPotential, getPotential, getPotentials, getSpecies, isEnabled, isEnabled, isEnabled, isPotentialHard, lrcMaster, removePotential, setEnabled, setEnabled, setEnabled, setPotentialHardaddPotential, getCriteria, getCriteria1Body, getCriterion, getIntraPotentials, getRangedPotentials, getRangedPotentials, getRangedPotentials1Body, makePotentialGroup, potentialAddedNotify, removePotential, setBoxForCriteria, setBoxForPotentials, setCriterion, setCriterion1Bodypublic PotentialMasterCell(Simulation sim, Space _space)
public PotentialMasterCell(Simulation sim, double range, Space _space)
_space - the governing Spacerange - the neighbor distance. May be changed after construction.public PotentialMasterCell(Simulation sim, double range, BoxAgentSourceCellManager boxAgentSource)
public double getRange()
public void setRange(double d)
public void setCellRange(int d)
protected void addRangedPotentialForTypes(IPotentialAtomic potential, AtomType[] atomType)
addRangedPotentialForTypes in class PotentialMasterNbrpublic BoxCellManager getBoxCellManager(Box box)
getBoxCellManager in class PotentialMasterNbrpublic NeighborCellManager getNbrCellManager(Box box)
public void reset()
public void calculate(Box box, PotentialCalculation pc, boolean includeLrc)
public void calculate(Box box, IteratorDirective id, PotentialCalculation pc)
PotentialMastercalculate in class PotentialMasterprotected void calculate(IAtom atom, NeighborIterator neighborIterator, PotentialCalculation pc, IteratorDirective.Direction direction)