public class PotentialMasterCellMixed extends PotentialMasterCell
PotentialMaster.AtomIterator0, PotentialMaster.MoleculeIterator0, PotentialMaster.PotentialLinker
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected java.util.Set<ISpecies> |
cellSpecies |
|
protected IteratorDirective.Direction |
direction |
|
protected AtomPair |
pair |
|
protected java.util.Map<AtomType,java.util.Map<AtomType,IPotentialAtomic>> |
unrangedPotentials |
enabled, isPotentialHard, iteratorFactory, lrcMaster, potentialList
criteria, criteria1Body, potentials0body, rangedPotentials, rangedPotentials1Body, simulation
Constructor | Description |
---|---|
PotentialMasterCellMixed(Simulation sim,
double range) |
|
PotentialMasterCellMixed(Simulation sim,
double range,
BoxAgentSourceCellManager boxAgentSource) |
Modifier and Type | Method | Description |
---|---|---|
void |
addUnrangedPotential(AtomType type1,
AtomType type2,
IPotentialAtomic p2) |
Indicatest that the given potential describes the interactions between the
given atom types.
|
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 |
setHandledByCells(ISpecies species,
boolean isHandled) |
Indicates that the given species is handled by cell lists.
|
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
addRangedPotentialForTypes, calculate, getBoxCellManager, getNbrCellManager, getRange, reset, setCellRange, setRange
addPotential, getCriteria, getCriteria1Body, getCriterion, getIntraPotentials, getRangedPotentials, getRangedPotentials, getRangedPotentials1Body, makePotentialGroup, potentialAddedNotify, removePotential, setBoxForCriteria, setBoxForPotentials, setCriterion, setCriterion1Body
protected final java.util.Set<ISpecies> cellSpecies
protected Box box
protected java.util.Map<AtomType,java.util.Map<AtomType,IPotentialAtomic>> unrangedPotentials
protected final AtomPair pair
protected IteratorDirective.Direction direction
public PotentialMasterCellMixed(Simulation sim, double range)
public PotentialMasterCellMixed(Simulation sim, double range, BoxAgentSourceCellManager boxAgentSource)
public void setHandledByCells(ISpecies species, boolean isHandled)
species
- a species that is handled by cell lists.isHandled
- Indicates that the given species is handled by cell lists.public void addUnrangedPotential(AtomType type1, AtomType type2, IPotentialAtomic p2)
type1
- the first atom typetype2
- the second atom typep2
- the potentialpublic void calculate(Box box, IteratorDirective id, PotentialCalculation pc)
PotentialMaster
calculate
in class PotentialMasterCell
protected void calculate(IAtom atom, NeighborIterator neighborIterator, PotentialCalculation pc, IteratorDirective.Direction direction)
calculate
in class PotentialMasterCell