![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Returns true if the particles are to be considered for short range interactions. More...
#include <VerletCriterion.hpp>
Public Member Functions | |
| VerletCriterion (System::System const &system, double skin, double max_cut, double coulomb_cut=0., double dipolar_cut=0., double collision_detection_cutoff=0.) | |
| bool | operator() (const Particle &p1, const Particle &p2, double dist2) const |
Returns true if the particles are to be considered for short range interactions.
| ShortRangeOnly | When true, the electrostatics / dipolar / collision early-accept branches are compiled out of the call operator. Selected by update_verlet_state only when none of those cutoffs are active, so the removed branches would never have accepted a pair – the result is unchanged, but the per-candidate build loop drops the dead comparisons. |
Definition at line 59 of file VerletCriterion.hpp.
|
inline |
Definition at line 80 of file VerletCriterion.hpp.
References inactive_cutoff, and stream.
|
inline |
Definition at line 107 of file VerletCriterion.hpp.
References stream.