![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include "config/config.hpp"#include "exclusions.hpp"#include "Particle.hpp"#include <utils/contains.hpp>#include <algorithm>
Include dependency graph for exclusions.cpp:Go to the source code of this file.
Functions | |
| void | add_exclusion (Particle &p, int p_id) |
| Insert an exclusion if not already set. | |
| void | delete_exclusion (Particle &p, int p_id) |
| Remove exclusion from particle if possible. | |
Insert an exclusion if not already set.
Definition at line 34 of file exclusions.cpp.
References Utils::contains(), Particle::exclusions(), and stream.
Referenced by ScriptInterface::Particles::auto_exclusions(), and ScriptInterface::Particles::local_add_exclusion().
Remove exclusion from particle if possible.
Definition at line 41 of file exclusions.cpp.
References Particle::exclusions(), and stream.
Referenced by ScriptInterface::Particles::local_remove_exclusion().