NeighborCriterionMolecularpublic class CriterionSpeciesPair extends CriterionAdapterMolecular
subCriterion| Constructor | Description |
|---|---|
CriterionSpeciesPair(NeighborCriterionMolecular criterion,
ISpecies species0,
ISpecies species1) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
accept(IMoleculeList pair) |
Returns true if the Species for the pair of molecules match the Species
given at construction (without regard to the order of the pair), and if
the wrapped criterion also accepts the pair.
|
ISpecies[] |
getSpecies() |
Returns the Species accepted by this NeighborCriterionMolecular
|
getWrappedCriterion, needUpdate, reset, setBox, unsafepublic CriterionSpeciesPair(NeighborCriterionMolecular criterion, ISpecies species0, ISpecies species1)
public boolean accept(IMoleculeList pair)
accept in interface NeighborCriterionMolecularaccept in class CriterionAdapterMolecularpublic ISpecies[] getSpecies()