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

True if a bond of given type exists between two particles. More...

#include <BondCriterion.hpp>

+ Inheritance diagram for PairCriteria::BondCriterion:
+ Collaboration diagram for PairCriteria::BondCriterion:

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
 

Detailed Description

True if a bond of given type exists between two particles.

Definition at line 28 of file core/pair_criteria/BondCriterion.hpp.

Member Function Documentation

◆ decide()

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

◆ get_bond_type()

int PairCriteria::BondCriterion::get_bond_type ( )
inline

Definition at line 34 of file core/pair_criteria/BondCriterion.hpp.

◆ set_bond_type()

void PairCriteria::BondCriterion::set_bond_type ( int  t)
inline

Definition at line 35 of file core/pair_criteria/BondCriterion.hpp.


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