ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
PairCriteria::DistanceCriterion Class Reference

True if two particles are closer than a cut off distance, respecting minimum image convention. More...

#include <DistanceCriterion.hpp>

+ Inheritance diagram for PairCriteria::DistanceCriterion:
+ Collaboration diagram for PairCriteria::DistanceCriterion:

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
 

Detailed Description

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.

Member Function Documentation

◆ decide()

bool PairCriteria::DistanceCriterion::decide ( const Particle p1,
const Particle p2 
) const
inlineoverridevirtual

◆ get_cut_off()

double PairCriteria::DistanceCriterion::get_cut_off ( )
inline

Definition at line 38 of file core/pair_criteria/DistanceCriterion.hpp.

◆ set_cut_off()

void PairCriteria::DistanceCriterion::set_cut_off ( double  c)
inline

Definition at line 39 of file core/pair_criteria/DistanceCriterion.hpp.


The documentation for this class was generated from the following file: