ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Go to the source code of this file.
Functions | |
bool | do_nonbonded (Particle const &p1, Particle const &p2) |
Determine if the non-bonded interactions between p1 and p2 should be calculated. | |
void | delete_exclusion (Particle &p, int p_id) |
Remove exclusion from particle if possible. | |
void | add_exclusion (Particle &p, int p_id) |
Insert an exclusion if not already set. | |
void add_exclusion | ( | Particle & | p, |
int | p_id | ||
) |
Insert an exclusion if not already set.
Definition at line 34 of file exclusions.cpp.
References Utils::contains(), and Particle::exclusions().
Referenced by ScriptInterface::Particles::auto_exclusions(), and ScriptInterface::Particles::local_add_exclusion().
void delete_exclusion | ( | Particle & | p, |
int | p_id | ||
) |
Remove exclusion from particle if possible.
Definition at line 41 of file exclusions.cpp.
References Particle::exclusions().
Referenced by ScriptInterface::Particles::local_remove_exclusion().
Determine if the non-bonded interactions between p1
and p2
should be calculated.
Definition at line 35 of file exclusions.hpp.
References Particle::exclusions().
Referenced by add_non_bonded_pair_energy(), add_non_bonded_pair_force(), add_non_bonded_pair_virials(), and System::System::particle_short_range_energy_contribution().