ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
True if two particles are closer than a cut off distance, respecting minimum image convention. More...
#include <DistanceCriterion.hpp>
Public Member Functions | |
bool | decide (const Particle &p1, const Particle &p2) const override |
double | get_cut_off () |
void | set_cut_off (double c) |
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 two particles are closer than a cut off distance, respecting minimum image convention.
Definition at line 32 of file core/pair_criteria/DistanceCriterion.hpp.
|
inlineoverridevirtual |
Implements PairCriteria::PairCriterion.
Definition at line 34 of file core/pair_criteria/DistanceCriterion.hpp.
References System::System::box_geo, System::get_system(), and Particle::pos().
|
inline |
Definition at line 38 of file core/pair_criteria/DistanceCriterion.hpp.
|
inline |
Definition at line 39 of file core/pair_criteria/DistanceCriterion.hpp.