|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.nbr.CriterionAll
public class CriterionAll
Specifies that all atoms pairs are to be considered neighbors. Should not be used for species in which atoms are being added/removed by integrator.
| Constructor Summary | |
|---|---|
CriterionAll()
|
|
| Method Summary | |
|---|---|
boolean |
accept(IAtomList pair)
Always returns true, indicating that all atoms pairs are neighbors. |
boolean |
needUpdate(IAtom atom)
Always returns false, indicating that neighbor list never needs updating. |
void |
reset(IAtom atom)
Performs no action. |
void |
setBox(IBox box)
Performs no action. |
boolean |
unsafe()
Always returns false, indicating that neighbor list never needs updating. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CriterionAll()
| Method Detail |
|---|
public boolean needUpdate(IAtom atom)
needUpdate in interface NeighborCriterionpublic void setBox(IBox box)
setBox in interface NeighborCriterionpublic boolean unsafe()
unsafe in interface NeighborCriterionpublic void reset(IAtom atom)
reset in interface NeighborCriterionpublic boolean accept(IAtomList pair)
accept in interface NeighborCriterion
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||