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

#include <bond_breakage.hpp>

+ Collaboration diagram for BondBreakage::BondBreakage:

Public Member Functions

 BondBreakage ()
 
bool check_and_handle_breakage (int particle_id, BondPartners const &bond_partners, int bond_type, double distance)
 Check if the bond between the particles should break, if yes, queue it.
 
void clear_queue ()
 
void process_queue (System::System &system)
 

Public Attributes

std::unordered_map< int, std::shared_ptr< BreakageSpec > > breakage_specs
 Bond breakage specifications.
 

Detailed Description

Definition at line 67 of file bond_breakage.hpp.

Constructor & Destructor Documentation

◆ BondBreakage()

BondBreakage::BondBreakage::BondBreakage ( )
inline

Definition at line 74 of file bond_breakage.hpp.

Member Function Documentation

◆ check_and_handle_breakage()

bool BondBreakage::BondBreakage::check_and_handle_breakage ( int  particle_id,
BondPartners const &  bond_partners,
int  bond_type,
double  distance 
)
inline

Check if the bond between the particles should break, if yes, queue it.

Definition at line 79 of file bond_breakage.hpp.

Referenced by add_bonded_force().

◆ clear_queue()

void BondBreakage::BondBreakage::clear_queue ( )
inline

Definition at line 97 of file bond_breakage.hpp.

◆ process_queue()

void BondBreakage::BondBreakage::process_queue ( System::System system)
inline

Definition at line 99 of file bond_breakage.hpp.

Member Data Documentation

◆ breakage_specs

std::unordered_map<int, std::shared_ptr<BreakageSpec> > BondBreakage::BondBreakage::breakage_specs

Bond breakage specifications.

Definition at line 72 of file bond_breakage.hpp.


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