![]() |
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 70 of file bond_breakage.hpp.
|
inline |
Definition at line 77 of file bond_breakage.hpp.
References breakage_specs.
|
inline |
Check if the bond between the particles should break, if yes, queue it.
Definition at line 82 of file bond_breakage.hpp.
References breakage_specs, and BondBreakage::NONE.
|
inline |
Definition at line 101 of file bond_breakage.hpp.
Referenced by execute_bond_breakage().
| void BondBreakage::BondBreakage::execute_bond_breakage | ( | System::System & | system | ) |
Definition at line 234 of file bond_breakage.cpp.
References BondBreakage::bond_handler(), CellStructure::bond_loop(), System::System::box_geo, System::System::cell_structure, clear_queue(), execute_bond_breakage(), System::System::get_global_ghost_flags(), process_queue(), and CellStructure::update_ghosts_and_resort_particle().
Referenced by execute_bond_breakage().
|
inline |
Definition at line 105 of file bond_breakage.hpp.
References breakage_specs.
Referenced by execute_bond_breakage().
| std::unordered_map<int, std::shared_ptr<BreakageSpec> > BondBreakage::BondBreakage::breakage_specs |
Bond breakage specifications.
Definition at line 75 of file bond_breakage.hpp.
Referenced by BondBreakage(), check_and_handle_breakage(), create_kokkos_bonds_kernel_data(), and process_queue().