ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
True if the short-range energy is larger than a cutoff value. More...
#include <EnergyCriterion.hpp>
Public Member Functions | |
EnergyCriterion (System::System const &system) | |
bool | decide (Particle const &p1, Particle const &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 the short-range energy is larger than a cutoff value.
Definition at line 34 of file core/pair_criteria/EnergyCriterion.hpp.
|
inline |
Definition at line 36 of file core/pair_criteria/EnergyCriterion.hpp.
|
inlineoverridevirtual |
Implements PairCriteria::PairCriterion.
Definition at line 37 of file core/pair_criteria/EnergyCriterion.hpp.
References System::System::bonded_ias, System::System::box_geo, calc_non_bonded_pair_energy(), System::System::coulomb, get_ptr(), System::System::nonbonded_ias, Coulomb::Solver::pair_energy_kernel(), Particle::pos(), and Particle::type().
|
inline |
Definition at line 52 of file core/pair_criteria/EnergyCriterion.hpp.
|
inline |
Definition at line 53 of file core/pair_criteria/EnergyCriterion.hpp.