etomica.nbr
Class CriterionBondedSimple

java.lang.Object
  extended by etomica.nbr.CriterionAdapter
      extended by etomica.nbr.CriterionBondedSimple
All Implemented Interfaces:
NeighborCriterion, Serializable

public class CriterionBondedSimple
extends CriterionAdapter

See Also:
Serialized Form

Field Summary
 
Fields inherited from class etomica.nbr.CriterionAdapter
subCriterion
 
Constructor Summary
CriterionBondedSimple(NeighborCriterion criterion)
           
 
Method Summary
 boolean accept(IAtomList pair)
          Implementation of this method should introduce new criterion and return true if pair meets this criterion and that of the wrapped NeighborCriterion.
 boolean isBonded()
           
 void setBonded(boolean b)
           
 
Methods inherited from class etomica.nbr.CriterionAdapter
getWrappedCriterion, needUpdate, reset, setBox, unsafe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CriterionBondedSimple

public CriterionBondedSimple(NeighborCriterion criterion)
Method Detail

setBonded

public void setBonded(boolean b)

isBonded

public boolean isBonded()

accept

public boolean accept(IAtomList pair)
Description copied from class: CriterionAdapter
Implementation of this method should introduce new criterion and return true if pair meets this criterion and that of the wrapped NeighborCriterion.

Specified by:
accept in interface NeighborCriterion
Specified by:
accept in class CriterionAdapter