NeighborCriterionpublic static class ColloidSim.CriterionNone extends java.lang.Object implements NeighborCriterion
| Constructor | Description |
|---|---|
CriterionNone() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
accept(IAtom atom1,
IAtom atom2) |
|
boolean |
needUpdate(IAtom atom) |
Indicates whether the neighbor list for the given atom should
be updated, according to this criterion.
|
void |
reset(IAtom atom) |
Indicates to criterion that given atom's neighbor list has just been
updated, and that properties (e.g., record of atom'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 atom has changed (e.g.
|
public boolean unsafe()
NeighborCriterionunsafe in interface NeighborCriterionpublic void setBox(Box box)
NeighborCriterionsetBox in interface NeighborCriterionpublic void reset(IAtom atom)
NeighborCriterionreset in interface NeighborCriterionpublic boolean needUpdate(IAtom atom)
NeighborCriterionneedUpdate in interface NeighborCriterionpublic boolean accept(IAtom atom1, IAtom atom2)
accept in interface NeighborCriterion