|
| template<int dim, ContactType contact_type> |
| void | particle_particle_fine_search (const typename DEM::dem_data_structures< dim >::particle_index_iterator_map &particle_container, adjacent_pairs_for_contact_t< dim, contact_type > &adjacent_particles, const typename DEM::dem_data_structures< dim >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, dim > &periodic_offset_per_direction) |
| template<int dim> |
| std::pair< Tensor< 1, dim >, bool > | nearest_periodic_translation (const Point< dim, double > &particle_one_location, const Point< dim, double > &particle_two_real_location, const std::array< double, dim > &periodic_offset_per_direction) |
| template void | particle_particle_fine_search< 2, local_particle_particle > (const typename DEM::dem_data_structures< 2 >::particle_index_iterator_map &particle_container, typename DEM::dem_data_structures< 2 >::adjacent_particle_pairs &adjacent_particles, const typename DEM::dem_data_structures< 2 >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, 2 > &periodic_offset_per_direction) |
| template void | particle_particle_fine_search< 2, ghost_particle_particle > (const typename DEM::dem_data_structures< 2 >::particle_index_iterator_map &particle_container, typename DEM::dem_data_structures< 2 >::adjacent_particle_pairs &adjacent_particles, const typename DEM::dem_data_structures< 2 >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, 2 > &periodic_offset_per_direction) |
| template void | particle_particle_fine_search< 2, local_periodic_particle_particle > (const typename DEM::dem_data_structures< 2 >::particle_index_iterator_map &particle_container, typename DEM::dem_data_structures< 2 >::periodic_adjacent_particle_pairs &adjacent_particles, const typename DEM::dem_data_structures< 2 >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, 2 > &periodic_offset_per_direction) |
| template void | particle_particle_fine_search< 2, ghost_periodic_particle_particle > (const typename DEM::dem_data_structures< 2 >::particle_index_iterator_map &particle_container, typename DEM::dem_data_structures< 2 >::periodic_adjacent_particle_pairs &adjacent_particles, const typename DEM::dem_data_structures< 2 >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, 2 > &periodic_offset_per_direction) |
| template void | particle_particle_fine_search< 2, ghost_local_periodic_particle_particle > (const typename DEM::dem_data_structures< 2 >::particle_index_iterator_map &particle_container, typename DEM::dem_data_structures< 2 >::periodic_adjacent_particle_pairs &adjacent_particles, const typename DEM::dem_data_structures< 2 >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, 2 > &periodic_offset_per_direction) |
| template void | particle_particle_fine_search< 3, local_particle_particle > (const typename DEM::dem_data_structures< 3 >::particle_index_iterator_map &particle_container, typename DEM::dem_data_structures< 3 >::adjacent_particle_pairs &adjacent_particles, const typename DEM::dem_data_structures< 3 >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, 3 > &periodic_offset_per_direction) |
| template void | particle_particle_fine_search< 3, ghost_particle_particle > (const typename DEM::dem_data_structures< 3 >::particle_index_iterator_map &particle_container, typename DEM::dem_data_structures< 3 >::adjacent_particle_pairs &adjacent_particles, const typename DEM::dem_data_structures< 3 >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, 3 > &periodic_offset_per_direction) |
| template void | particle_particle_fine_search< 3, local_periodic_particle_particle > (const typename DEM::dem_data_structures< 3 >::particle_index_iterator_map &particle_container, typename DEM::dem_data_structures< 3 >::periodic_adjacent_particle_pairs &adjacent_particles, const typename DEM::dem_data_structures< 3 >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, 3 > &periodic_offset_per_direction) |
| template void | particle_particle_fine_search< 3, ghost_periodic_particle_particle > (const typename DEM::dem_data_structures< 3 >::particle_index_iterator_map &particle_container, typename DEM::dem_data_structures< 3 >::periodic_adjacent_particle_pairs &adjacent_particles, const typename DEM::dem_data_structures< 3 >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, 3 > &periodic_offset_per_direction) |
| template void | particle_particle_fine_search< 3, ghost_local_periodic_particle_particle > (const typename DEM::dem_data_structures< 3 >::particle_index_iterator_map &particle_container, typename DEM::dem_data_structures< 3 >::periodic_adjacent_particle_pairs &adjacent_particles, const typename DEM::dem_data_structures< 3 >::particle_particle_candidates &contact_pair_candidates, const double neighborhood_threshold, const std::array< double, 3 > &periodic_offset_per_direction) |
| void particle_particle_fine_search |
( |
const typename DEM::dem_data_structures< dim >::particle_index_iterator_map & | particle_container, |
|
|
adjacent_pairs_for_contact_t< dim, contact_type > & | adjacent_particles, |
|
|
const typename DEM::dem_data_structures< dim >::particle_particle_candidates & | contact_pair_candidates, |
|
|
const double | neighborhood_threshold, |
|
|
const std::array< double, dim > & | periodic_offset_per_direction = {} ) |
Iterates over a vector of maps (pairs_in_contact) to see if the particles which were in contact in the last time step, are still in contact or not. If they are still in contact it will update the collision info, including tangential displacement, based on new properties of the particle pair, if they are not in contact anymore it will delete the pair from the pairs_in_contact and also its information from pairs_in_contact_info. Then it iterates over the contact candidates from broad search to see if they already exist in the pairs_in_contact or not, if they are not in the pairs_in_contact and have an overlap, the pair will be added to the pairs_in_contact and its contact information will be stored in the corresponding element of the pairs_in_contact_info.
- Parameters
-
| particle_container | A container that is used to obtain iterators to particles using their ids. |
| adjacent_particles | A map of maps which stores all the required information for calculation of the contact force of particle pairs. Can either be for non-periodic or periodic contact types. |
| contact_pair_candidates | The output of broad search which shows contact pair candidates. |
| neighborhood_threshold | A value which defines the neighbor particles. |
| periodic_offset_per_direction | An array whose component d holds the signed periodic offsets associated with each periodic directions. If the given d direction is not periodic, the signed distance is 0. |
Definition at line 24 of file particle_particle_fine_search.cc.
References ghost_local_periodic_particle_particle, ghost_particle_particle, ghost_periodic_particle_particle, local_particle_particle, local_periodic_particle_particle, and nearest_periodic_translation().