CriterionAdapterMolecular
, CriterionAllMolecular
, CriterionSimpleMolecular
, CriterionSpecies
, CriterionSpeciesPair
public interface NeighborCriterionMolecular
Modifier and Type | Method | Description |
---|---|---|
boolean |
accept(IMoleculeList pair) |
|
boolean |
needUpdate(IMolecule molecule) |
Indicates whether the neighbor list for the given molecule should
be updated, according to this criterion.
|
void |
reset(IMolecule molecule) |
Indicates to criterion that given molecule's neighbor list has just been
updated, and that properties (e.g., record of molecule's position)
used by needUpdate and unsafe() methods should be reset.
|
void |
setBox(Box box) |
Specifies the box where the criterion is being applied.
|
boolean |
unsafe() |
Indicates whether the molecule has changed (e.g.
|
boolean accept(IMoleculeList pair)
boolean needUpdate(IMolecule molecule)
void setBox(Box box)
boolean unsafe()
void reset(IMolecule molecule)