ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
True if a bond of given type exists between two particles. More...
#include <BondCriterion.hpp>
Public Member Functions | |
bool | decide (Particle const &p1, Particle const &p2) const override |
int | get_bond_type () |
void | set_bond_type (int t) |
Public Member Functions inherited from PairCriteria::PairCriterion | |
bool | decide (int id1, int id2) const |
Make a decision based on particle ids. | |
virtual | ~PairCriterion ()=default |
True if a bond of given type exists between two particles.
Definition at line 28 of file core/pair_criteria/BondCriterion.hpp.
|
inlineoverridevirtual |
Implements PairCriteria::PairCriterion.
Definition at line 30 of file core/pair_criteria/BondCriterion.hpp.
References Particle::bonds(), Particle::id(), and pair_bond_exists_on().
|
inline |
Definition at line 34 of file core/pair_criteria/BondCriterion.hpp.
|
inline |
Definition at line 35 of file core/pair_criteria/BondCriterion.hpp.