![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <bond_breakage.hpp>
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 | execute_bond_breakage (System::System &system) |
void | process_queue (System::System &system) |
Public Attributes | |
std::unordered_map< int, std::shared_ptr< BreakageSpec > > | breakage_specs |
Bond breakage specifications. | |
Definition at line 67 of file bond_breakage.hpp.
|
inline |
Definition at line 74 of file bond_breakage.hpp.
|
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().
|
inline |
Definition at line 97 of file bond_breakage.hpp.
void BondBreakage::BondBreakage::execute_bond_breakage | ( | System::System & | system | ) |
Definition at line 224 of file bond_breakage.cpp.
References BondBreakage::bond_handler(), System::System::box_geo, System::System::cell_structure, and System::System::get_global_ghost_flags().
|
inline |
Definition at line 101 of file bond_breakage.hpp.
std::unordered_map<int, std::shared_ptr<BreakageSpec> > BondBreakage::BondBreakage::breakage_specs |
Bond breakage specifications.
Definition at line 72 of file bond_breakage.hpp.