![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
Go to the source code of this file.
Functions | |
| template<int dim, typename pairs_structure, typename candidates_structure, ContactType contact_type> | |
| void | update_fine_search_candidates (pairs_structure &pairs_in_contact, candidates_structure &contact_candidates) |
| void update_fine_search_candidates | ( | pairs_structure & | pairs_in_contact, |
| candidates_structure & | contact_candidates ) |
Manage removing repetitions and adding new contact pairs to the contact containers when particles are exchanged between processors. If the contact pair (in adjacent particles containers) does not exist in the output of the new (current step) broad search, it is removed from the contact pair (adjacent containers), since it means that the contact is being handled by another processor. If the pair exists in the output of the new broad search, it is removed from the output of the broad search, as the contact is already being processed. This process is performed for many types of particle-object pairs : local-local particle-particle pairs, local-ghost particle-particle pairs and particle-wall pairs, particle-floating wall pairs and particle-floating mesh contacts pairs. Note : contact_type is important for local or ghost particle-particle contact only.
| pairs_structure | Adjacent particle-object pairs container type. |
| candidates_structure | Particle-object contact pairs container type. |
| contact_type | Label of contact type to apply proper manipulation of contact removal in containers. |
| [in,out] | pairs_in_contact | adjacent particle-object pairs from fine search at previous time step. |
| [in,out] | contact_candidates | particle-object contact pairs from board search at current time step. |
Definition at line 14 of file update_fine_search_candidates.cc.
References ghost_local_periodic_particle_particle, ghost_particle_particle, ghost_periodic_particle_particle, local_particle_particle, local_periodic_particle_particle, particle_floating_mesh, particle_floating_wall, and particle_wall.