![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Include dependency graph for bonds.cpp:Go to the source code of this file.
Functions | |
| bool | add_bond (System::System &system, int bond_id, std::vector< int > const &particle_ids) |
| Add a bond to a particle. | |
| bool add_bond | ( | System::System & | system, |
| int | bond_id, | ||
| std::vector< int > const & | particle_ids | ||
| ) |
Add a bond to a particle.
The caller is responsible for calling System::System::on_particle_change().
Definition at line 25 of file bonds.cpp.
References Particle::bonds(), and System::System::cell_structure.
Referenced by CollisionDetection::add_bind_centers(), ScriptInterface::Particles::ParticleHandle::do_call_method(), and ScriptInterface::Particles::set_particles_bonds().