![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <ExclusionRadius.hpp>
Collaboration diagram for ExclusionRadius:Public Types | |
| using | map_type = std::unordered_map< int, double > |
Public Member Functions | |
| ExclusionRadius (boost::mpi::communicator const &comm) | |
| void | set_exclusion_range (double range) |
| void | set_exclusion_radius_per_type (map_type const &map) |
| bool | check_exclusion_range (int p_id, int p_type) |
| Check if an inserted particle is too close to neighboring particles. | |
| bool | check_exclusion_range (int pid) |
Public Attributes | |
| bool | neighbor_search_order_n = true |
| double | exclusion_range = 0. |
| map_type | exclusion_radius_per_type {} |
Definition at line 26 of file core/ExclusionRadius.hpp.
| using ExclusionRadius::map_type = std::unordered_map<int, double> |
Definition at line 32 of file core/ExclusionRadius.hpp.
|
inlineexplicit |
Definition at line 33 of file core/ExclusionRadius.hpp.
| bool ExclusionRadius::check_exclusion_range | ( | int | p_id, |
| int | p_type | ||
| ) |
Check if an inserted particle is too close to neighboring particles.
Definition at line 81 of file ExclusionRadius.cpp.
References exclusion_radius_per_type, exclusion_range, get_particle_ids_parallel(), get_real_particle(), get_short_range_neighbors(), System::get_system(), and neighbor_search_order_n.
Referenced by check_exclusion_range().
| bool ExclusionRadius::check_exclusion_range | ( | int | pid | ) |
Definition at line 186 of file ExclusionRadius.cpp.
References check_exclusion_range(), and get_real_particle().
| void ExclusionRadius::set_exclusion_radius_per_type | ( | map_type const & | map | ) |
Definition at line 58 of file ExclusionRadius.cpp.
References exclusion_radius_per_type.
| void ExclusionRadius::set_exclusion_range | ( | double | range | ) |
Definition at line 50 of file ExclusionRadius.cpp.
References exclusion_range.
| map_type ExclusionRadius::exclusion_radius_per_type {} |
Definition at line 42 of file core/ExclusionRadius.hpp.
Referenced by check_exclusion_range(), and set_exclusion_radius_per_type().
| double ExclusionRadius::exclusion_range = 0. |
Definition at line 41 of file core/ExclusionRadius.hpp.
Referenced by check_exclusion_range(), and set_exclusion_range().
| bool ExclusionRadius::neighbor_search_order_n = true |
Definition at line 40 of file core/ExclusionRadius.hpp.
Referenced by check_exclusion_range().