12 dealii::Particles::ParticleHandler<dim> &particle_handler,
14 &cells_local_neighbor_list,
16 &cells_ghost_neighbor_list,
18 &local_contact_pair_candidates,
20 &ghost_contact_pair_candidates)
23 local_contact_pair_candidates.clear();
24 ghost_contact_pair_candidates.clear();
31 for (
auto cell_neighbor_list_iterator = cells_local_neighbor_list.begin();
32 cell_neighbor_list_iterator != cells_local_neighbor_list.end();
33 ++cell_neighbor_list_iterator)
36 auto cell_neighbor_iterator = cell_neighbor_list_iterator->begin();
39 typename Particles::ParticleHandler<dim>::particle_iterator_range
40 particles_in_main_cell =
41 particle_handler.particles_in_cell(*cell_neighbor_iterator);
43 const bool particles_exist_in_main_cell = !particles_in_main_cell.empty();
46 if (particles_exist_in_main_cell)
51 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
52 particle_in_main_cell != particles_in_main_cell.end();
53 ++particle_in_main_cell)
56 std::next(particle_in_main_cell, 1),
57 particles_in_main_cell,
58 local_contact_pair_candidates);
62 ++cell_neighbor_iterator;
63 for (; cell_neighbor_iterator != cell_neighbor_list_iterator->end();
64 ++cell_neighbor_iterator)
67 typename Particles::ParticleHandler<dim>::particle_iterator_range
68 particles_in_neighbor_cell =
69 particle_handler.particles_in_cell(*cell_neighbor_iterator);
73 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
74 particle_in_main_cell != particles_in_main_cell.end();
75 ++particle_in_main_cell)
78 particles_in_neighbor_cell.begin(),
79 particles_in_neighbor_cell,
80 local_contact_pair_candidates);
90 for (
auto cell_neighbor_list_iterator = cells_ghost_neighbor_list.begin();
91 cell_neighbor_list_iterator != cells_ghost_neighbor_list.end();
92 ++cell_neighbor_list_iterator)
95 auto cell_neighbor_iterator = cell_neighbor_list_iterator->begin();
98 typename Particles::ParticleHandler<dim>::particle_iterator_range
99 particles_in_main_cell =
100 particle_handler.particles_in_cell(*cell_neighbor_iterator);
102 const bool particles_exist_in_main_cell = !particles_in_main_cell.empty();
104 if (particles_exist_in_main_cell)
107 ++cell_neighbor_iterator;
109 for (; cell_neighbor_iterator != cell_neighbor_list_iterator->end();
110 ++cell_neighbor_iterator)
113 typename Particles::ParticleHandler<dim>::particle_iterator_range
114 particles_in_neighbor_cell =
115 particle_handler.particles_in_cell(*cell_neighbor_iterator);
120 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
121 particle_in_main_cell != particles_in_main_cell.end();
122 ++particle_in_main_cell)
125 particles_in_neighbor_cell.begin(),
126 particles_in_neighbor_cell,
127 ghost_contact_pair_candidates);
134template <
int dim,
typename PropertiesIndex>
137 dealii::Particles::ParticleHandler<dim> &particle_handler,
139 &cells_local_neighbor_list,
141 &cells_ghost_neighbor_list,
143 &local_contact_pair_candidates,
145 &ghost_contact_pair_candidates,
149 local_contact_pair_candidates.clear();
150 ghost_contact_pair_candidates.clear();
158 for (
auto cell_neighbor_list_iterator = cells_local_neighbor_list.begin();
159 cell_neighbor_list_iterator != cells_local_neighbor_list.end();
160 ++cell_neighbor_list_iterator)
163 auto cell_neighbor_iterator = cell_neighbor_list_iterator->begin();
164 unsigned int main_cell_mobility_status =
171 if (main_cell_mobility_status ==
173 main_cell_mobility_status ==
178 typename Particles::ParticleHandler<dim>::particle_iterator_range
179 particles_in_main_cell =
180 particle_handler.particles_in_cell(*cell_neighbor_iterator);
185 if (main_cell_mobility_status ==
191 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
192 particle_in_main_cell != particles_in_main_cell.end();
193 ++particle_in_main_cell)
196 std::next(particle_in_main_cell, 1),
197 particles_in_main_cell,
198 local_contact_pair_candidates);
203 ++cell_neighbor_iterator;
204 for (; cell_neighbor_iterator != cell_neighbor_list_iterator->end();
205 ++cell_neighbor_iterator)
208 unsigned int neighbor_cell_mobility_status =
216 if (neighbor_cell_mobility_status !=
219 if (main_cell_mobility_status ==
222 if (main_cell_mobility_status ==
228 typename Particles::ParticleHandler<dim>::particle_iterator_range
229 particles_in_neighbor_cell =
230 particle_handler.particles_in_cell(*cell_neighbor_iterator);
231 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
232 particle_in_main_cell != particles_in_main_cell.end();
233 ++particle_in_main_cell)
236 particles_in_neighbor_cell.begin(),
237 particles_in_neighbor_cell,
238 local_contact_pair_candidates);
247 for (
auto cell_neighbor_list_iterator = cells_ghost_neighbor_list.begin();
248 cell_neighbor_list_iterator != cells_ghost_neighbor_list.end();
249 ++cell_neighbor_list_iterator)
252 auto cell_neighbor_iterator = cell_neighbor_list_iterator->begin();
253 unsigned int main_cell_mobility_status =
260 if (main_cell_mobility_status ==
262 main_cell_mobility_status ==
267 typename Particles::ParticleHandler<dim>::particle_iterator_range
268 particles_in_main_cell =
269 particle_handler.particles_in_cell(*cell_neighbor_iterator);
273 ++cell_neighbor_iterator;
274 for (; cell_neighbor_iterator != cell_neighbor_list_iterator->end();
275 ++cell_neighbor_iterator)
277 unsigned int neighbor_cell_mobility_status =
282 if (neighbor_cell_mobility_status !=
285 if (main_cell_mobility_status ==
288 if (main_cell_mobility_status ==
295 typename Particles::ParticleHandler<dim>::particle_iterator_range
296 particles_in_neighbor_cell =
297 particle_handler.particles_in_cell(*cell_neighbor_iterator);
302 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
303 particle_in_main_cell != particles_in_main_cell.end();
304 ++particle_in_main_cell)
307 particles_in_neighbor_cell.begin(),
308 particles_in_neighbor_cell,
309 ghost_contact_pair_candidates);
319 dealii::Particles::ParticleHandler<dim> &particle_handler,
321 &cells_local_periodic_neighbor_list,
323 &cells_ghost_periodic_neighbor_list,
325 &cells_ghost_local_periodic_neighbor_list,
327 &local_contact_pair_periodic_candidates,
329 &ghost_contact_pair_periodic_candidates,
331 &ghost_local_contact_pair_periodic_candidates)
334 local_contact_pair_periodic_candidates.clear();
335 ghost_contact_pair_periodic_candidates.clear();
336 ghost_local_contact_pair_periodic_candidates.clear();
339 for (
auto cell_periodic_neighbor_list_iterator =
340 cells_local_periodic_neighbor_list.begin();
341 cell_periodic_neighbor_list_iterator !=
342 cells_local_periodic_neighbor_list.end();
343 ++cell_periodic_neighbor_list_iterator)
346 auto cell_periodic_neighbor_iterator =
347 cell_periodic_neighbor_list_iterator->begin();
350 typename Particles::ParticleHandler<dim>::particle_iterator_range
351 particles_in_main_cell =
352 particle_handler.particles_in_cell(*cell_periodic_neighbor_iterator);
354 const bool particles_exist_in_main_cell = !particles_in_main_cell.empty();
357 if (particles_exist_in_main_cell)
362 ++cell_periodic_neighbor_iterator;
363 for (; cell_periodic_neighbor_iterator !=
364 cell_periodic_neighbor_list_iterator->end();
365 ++cell_periodic_neighbor_iterator)
369 typename Particles::ParticleHandler<dim>::particle_iterator_range
370 particles_in_periodic_neighbor_cell =
371 particle_handler.particles_in_cell(
372 *cell_periodic_neighbor_iterator);
377 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
378 particle_in_main_cell != particles_in_main_cell.end();
379 ++particle_in_main_cell)
382 particle_in_main_cell->get_id(),
383 particles_in_periodic_neighbor_cell.begin(),
384 particles_in_periodic_neighbor_cell,
385 local_contact_pair_periodic_candidates);
395 for (
auto cell_periodic_neighbor_list_iterator =
396 cells_ghost_periodic_neighbor_list.begin();
397 cell_periodic_neighbor_list_iterator !=
398 cells_ghost_periodic_neighbor_list.end();
399 ++cell_periodic_neighbor_list_iterator)
402 auto cell_periodic_neighbor_iterator =
403 cell_periodic_neighbor_list_iterator->begin();
406 typename Particles::ParticleHandler<dim>::particle_iterator_range
407 particles_in_main_cell =
408 particle_handler.particles_in_cell(*cell_periodic_neighbor_iterator);
410 const bool particles_exist_in_main_cell = !particles_in_main_cell.empty();
412 if (particles_exist_in_main_cell)
415 ++cell_periodic_neighbor_iterator;
417 for (; cell_periodic_neighbor_iterator !=
418 cell_periodic_neighbor_list_iterator->end();
419 ++cell_periodic_neighbor_iterator)
422 typename Particles::ParticleHandler<dim>::particle_iterator_range
423 particles_in_periodic_neighbor_cell =
424 particle_handler.particles_in_cell(
425 *cell_periodic_neighbor_iterator);
430 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
431 particle_in_main_cell != particles_in_main_cell.end();
432 ++particle_in_main_cell)
435 particle_in_main_cell->get_id(),
436 particles_in_periodic_neighbor_cell.begin(),
437 particles_in_periodic_neighbor_cell,
438 ghost_contact_pair_periodic_candidates);
445 for (
auto cell_periodic_neighbor_list_iterator =
446 cells_ghost_local_periodic_neighbor_list.begin();
447 cell_periodic_neighbor_list_iterator !=
448 cells_ghost_local_periodic_neighbor_list.end();
449 ++cell_periodic_neighbor_list_iterator)
452 auto cell_periodic_neighbor_iterator =
453 cell_periodic_neighbor_list_iterator->begin();
456 typename Particles::ParticleHandler<dim>::particle_iterator_range
457 particles_in_main_cell =
458 particle_handler.particles_in_cell(*cell_periodic_neighbor_iterator);
460 const bool particles_exist_in_main_cell = !particles_in_main_cell.empty();
462 if (particles_exist_in_main_cell)
465 ++cell_periodic_neighbor_iterator;
467 for (; cell_periodic_neighbor_iterator !=
468 cell_periodic_neighbor_list_iterator->end();
469 ++cell_periodic_neighbor_iterator)
472 typename Particles::ParticleHandler<dim>::particle_iterator_range
473 particles_in_periodic_neighbor_cell =
474 particle_handler.particles_in_cell(
475 *cell_periodic_neighbor_iterator);
480 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
481 particle_in_main_cell != particles_in_main_cell.end();
482 ++particle_in_main_cell)
485 particle_in_main_cell->get_id(),
486 particles_in_periodic_neighbor_cell.begin(),
487 particles_in_periodic_neighbor_cell,
488 ghost_local_contact_pair_periodic_candidates);
495template <
int dim,
typename PropertiesIndex>
498 dealii::Particles::ParticleHandler<dim> &particle_handler,
500 &cells_local_periodic_neighbor_list,
502 &cells_ghost_periodic_neighbor_list,
504 &cells_ghost_local_periodic_neighbor_list,
506 &local_contact_pair_periodic_candidates,
508 &ghost_contact_pair_periodic_candidates,
510 &ghost_local_contact_pair_periodic_candidates,
514 local_contact_pair_periodic_candidates.clear();
515 ghost_contact_pair_periodic_candidates.clear();
516 ghost_local_contact_pair_periodic_candidates.clear();
519 for (
auto cell_periodic_neighbor_list_iterator =
520 cells_local_periodic_neighbor_list.begin();
521 cell_periodic_neighbor_list_iterator !=
522 cells_local_periodic_neighbor_list.end();
523 ++cell_periodic_neighbor_list_iterator)
526 auto cell_periodic_neighbor_iterator =
527 cell_periodic_neighbor_list_iterator->begin();
528 unsigned int main_cell_mobility_status =
530 *cell_periodic_neighbor_iterator);
536 if (main_cell_mobility_status ==
538 main_cell_mobility_status ==
543 typename Particles::ParticleHandler<dim>::particle_iterator_range
544 particles_in_main_cell =
545 particle_handler.particles_in_cell(*cell_periodic_neighbor_iterator);
549 ++cell_periodic_neighbor_iterator;
550 for (; cell_periodic_neighbor_iterator !=
551 cell_periodic_neighbor_list_iterator->end();
552 ++cell_periodic_neighbor_iterator)
554 unsigned int neighbor_cell_mobility_status =
556 *cell_periodic_neighbor_iterator);
560 if ((main_cell_mobility_status ==
562 main_cell_mobility_status ==
564 PropertiesIndex>::advected_active) &&
565 neighbor_cell_mobility_status !=
571 typename Particles::ParticleHandler<dim>::particle_iterator_range
572 particles_in_periodic_neighbor_cell =
573 particle_handler.particles_in_cell(
574 *cell_periodic_neighbor_iterator);
578 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
579 particle_in_main_cell != particles_in_main_cell.end();
580 ++particle_in_main_cell)
583 particles_in_periodic_neighbor_cell.begin(),
584 particles_in_periodic_neighbor_cell,
585 local_contact_pair_periodic_candidates);
592 for (
auto cell_periodic_neighbor_list_iterator =
593 cells_ghost_periodic_neighbor_list.begin();
594 cell_periodic_neighbor_list_iterator !=
595 cells_ghost_periodic_neighbor_list.end();
596 ++cell_periodic_neighbor_list_iterator)
599 auto cell_periodic_neighbor_iterator =
600 cell_periodic_neighbor_list_iterator->begin();
601 unsigned int main_cell_mobility_status =
603 *cell_periodic_neighbor_iterator);
609 if (main_cell_mobility_status ==
611 main_cell_mobility_status ==
616 typename Particles::ParticleHandler<dim>::particle_iterator_range
617 particles_in_main_cell =
618 particle_handler.particles_in_cell(*cell_periodic_neighbor_iterator);
621 ++cell_periodic_neighbor_iterator;
622 for (; cell_periodic_neighbor_iterator !=
623 cell_periodic_neighbor_list_iterator->end();
624 ++cell_periodic_neighbor_iterator)
626 unsigned int neighbor_cell_mobility_status =
628 *cell_periodic_neighbor_iterator);
632 if ((main_cell_mobility_status ==
634 main_cell_mobility_status ==
636 PropertiesIndex>::advected_active) &&
637 neighbor_cell_mobility_status !=
642 typename Particles::ParticleHandler<dim>::particle_iterator_range
643 particles_in_periodic_neighbor_cell =
644 particle_handler.particles_in_cell(
645 *cell_periodic_neighbor_iterator);
650 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
651 particle_in_main_cell != particles_in_main_cell.end();
652 ++particle_in_main_cell)
655 particles_in_periodic_neighbor_cell.begin(),
656 particles_in_periodic_neighbor_cell,
657 ghost_contact_pair_periodic_candidates);
663 for (
auto cell_periodic_neighbor_list_iterator =
664 cells_ghost_local_periodic_neighbor_list.begin();
665 cell_periodic_neighbor_list_iterator !=
666 cells_ghost_local_periodic_neighbor_list.end();
667 ++cell_periodic_neighbor_list_iterator)
670 auto cell_periodic_neighbor_iterator =
671 cell_periodic_neighbor_list_iterator->begin();
677 unsigned int main_cell_mobility_status =
679 *cell_periodic_neighbor_iterator);
680 if (main_cell_mobility_status ==
682 main_cell_mobility_status ==
687 typename Particles::ParticleHandler<dim>::particle_iterator_range
688 particles_in_main_cell =
689 particle_handler.particles_in_cell(*cell_periodic_neighbor_iterator);
692 ++cell_periodic_neighbor_iterator;
693 for (; cell_periodic_neighbor_iterator !=
694 cell_periodic_neighbor_list_iterator->end();
695 ++cell_periodic_neighbor_iterator)
697 unsigned int neighbor_cell_mobility_status =
699 *cell_periodic_neighbor_iterator);
703 if ((main_cell_mobility_status ==
705 main_cell_mobility_status ==
707 PropertiesIndex>::advected_active) &&
708 neighbor_cell_mobility_status !=
713 typename Particles::ParticleHandler<dim>::particle_iterator_range
714 particles_in_periodic_neighbor_cell =
715 particle_handler.particles_in_cell(
716 *cell_periodic_neighbor_iterator);
721 for (
auto particle_in_main_cell = particles_in_main_cell.begin();
722 particle_in_main_cell != particles_in_main_cell.end();
723 ++particle_in_main_cell)
726 particle_in_main_cell->get_id(),
727 particles_in_periodic_neighbor_cell.begin(),
728 particles_in_periodic_neighbor_cell,
729 ghost_local_contact_pair_periodic_candidates);
738 const types::particle_index &main_particle_id,
739 const typename Particles::ParticleHandler<
740 dim>::particle_iterator_range::iterator &particle_begin,
741 const typename Particles::ParticleHandler<dim>::particle_iterator_range
742 &particles_to_evaluate,
744 &contact_pair_candidates)
747 auto [candidates_container_it, inserted] =
748 contact_pair_candidates.try_emplace(main_particle_id);
756 candidates_container_it->second.reserve(40);
760 for (
auto particle_iterator = particle_begin;
761 particle_iterator != particles_to_evaluate.end();
764 candidates_container_it->second.emplace_back(particle_iterator->get_id());
770 dealii::Particles::ParticleHandler<2> &particle_handler,
772 &cells_local_neighbor_list,
774 &cells_ghost_neighbor_list,
776 &local_contact_pair_candidates,
778 &ghost_contact_pair_candidates);
782 dealii::Particles::ParticleHandler<3> &particle_handler,
784 &cells_local_neighbor_list,
786 &cells_ghost_neighbor_list,
788 &local_contact_pair_candidates,
790 &ghost_contact_pair_candidates);
794 dealii::Particles::ParticleHandler<2> &particle_handler,
796 &cells_local_neighbor_list,
798 &cells_ghost_neighbor_list,
800 &local_contact_pair_candidates,
802 &ghost_contact_pair_candidates,
804 &sparse_contacts_object);
808 dealii::Particles::ParticleHandler<3> &particle_handler,
810 &cells_local_neighbor_list,
812 &cells_ghost_neighbor_list,
814 &local_contact_pair_candidates,
816 &ghost_contact_pair_candidates,
818 &sparse_contacts_object);
822 dealii::Particles::ParticleHandler<2> &particle_handler,
824 &cells_local_periodic_neighbor_list,
826 &cells_ghost_periodic_neighbor_list,
828 &cells_ghost_local_neighbor_list,
830 &local_contact_pair_periodic_candidates,
832 &ghost_contact_pair_periodic_candidates,
834 &ghost_local_contact_pair_periodic_candidates);
838 dealii::Particles::ParticleHandler<3> &particle_handler,
840 &cells_local_periodic_neighbor_list,
842 &cells_ghost_periodic_neighbor_list,
844 &cells_ghost_local_neighbor_list,
846 &local_contact_pair_periodic_candidates,
848 &ghost_contact_pair_periodic_candidates,
850 &ghost_local_contact_pair_periodic_candidates);
854 dealii::Particles::ParticleHandler<2> &particle_handler,
856 &cells_local_periodic_neighbor_list,
858 &cells_ghost_periodic_neighbor_list,
860 &cells_ghost_local_neighbor_list,
862 &local_contact_pair_periodic_candidates,
864 &ghost_contact_pair_periodic_candidates,
866 &ghost_local_contact_pair_periodic_candidates,
868 &sparse_contacts_object);
872 dealii::Particles::ParticleHandler<3> &particle_handler,
874 &cells_local_periodic_neighbor_list,
876 &cells_ghost_periodic_neighbor_list,
878 &cells_ghost_local_neighbor_list,
880 &local_contact_pair_periodic_candidates,
882 &ghost_contact_pair_periodic_candidates,
884 &ghost_local_contact_pair_periodic_candidates,
886 &sparse_contacts_object);
890 dealii::Particles::ParticleHandler<2> &particle_handler,
892 &cells_local_neighbor_list,
894 &cells_ghost_neighbor_list,
896 &local_contact_pair_candidates,
898 &ghost_contact_pair_candidates,
900 &sparse_contacts_object);
904 dealii::Particles::ParticleHandler<3> &particle_handler,
906 &cells_local_neighbor_list,
908 &cells_ghost_neighbor_list,
910 &local_contact_pair_candidates,
912 &ghost_contact_pair_candidates,
914 &sparse_contacts_object);
918 dealii::Particles::ParticleHandler<2> &particle_handler,
920 &cells_local_periodic_neighbor_list,
922 &cells_ghost_periodic_neighbor_list,
924 &cells_ghost_local_neighbor_list,
926 &local_contact_pair_periodic_candidates,
928 &ghost_contact_pair_periodic_candidates,
930 &ghost_local_contact_pair_periodic_candidates,
932 &sparse_contacts_object);
936 dealii::Particles::ParticleHandler<3> &particle_handler,
938 &cells_local_periodic_neighbor_list,
940 &cells_ghost_periodic_neighbor_list,
942 &cells_ghost_local_neighbor_list,
944 &local_contact_pair_periodic_candidates,
946 &ghost_contact_pair_periodic_candidates,
948 &ghost_local_contact_pair_periodic_candidates,
950 &sparse_contacts_object);
954 dealii::Particles::ParticleHandler<2> &particle_handler,
956 &cells_local_neighbor_list,
958 &cells_ghost_neighbor_list,
960 &local_contact_pair_candidates,
962 &ghost_contact_pair_candidates,
964 &sparse_contacts_object);
969 dealii::Particles::ParticleHandler<2> &particle_handler,
971 &cells_local_neighbor_list,
973 &cells_ghost_neighbor_list,
975 &local_contact_pair_candidates,
977 &ghost_contact_pair_candidates,
979 &sparse_contacts_object);
983 dealii::Particles::ParticleHandler<3> &particle_handler,
985 &cells_local_neighbor_list,
987 &cells_ghost_neighbor_list,
989 &local_contact_pair_candidates,
991 &ghost_contact_pair_candidates,
993 &sparse_contacts_object);
998 dealii::Particles::ParticleHandler<3> &particle_handler,
1000 &cells_local_neighbor_list,
1002 &cells_ghost_neighbor_list,
1004 &local_contact_pair_candidates,
1006 &ghost_contact_pair_candidates,
1008 &sparse_contacts_object);
1012 dealii::Particles::ParticleHandler<2> &particle_handler,
1014 &cells_local_periodic_neighbor_list,
1016 &cells_ghost_periodic_neighbor_list,
1018 &cells_ghost_local_neighbor_list,
1020 &local_contact_pair_periodic_candidates,
1022 &ghost_contact_pair_periodic_candidates,
1024 &ghost_local_contact_pair_periodic_candidates,
1026 &sparse_contacts_object);
1030 dealii::Particles::ParticleHandler<2> &particle_handler,
1032 &cells_local_periodic_neighbor_list,
1034 &cells_ghost_periodic_neighbor_list,
1036 &cells_ghost_local_neighbor_list,
1038 &local_contact_pair_periodic_candidates,
1040 &ghost_contact_pair_periodic_candidates,
1042 &ghost_local_contact_pair_periodic_candidates,
1044 &sparse_contacts_object);
1048 dealii::Particles::ParticleHandler<3> &particle_handler,
1050 &cells_local_periodic_neighbor_list,
1052 &cells_ghost_periodic_neighbor_list,
1054 &cells_ghost_local_neighbor_list,
1056 &local_contact_pair_periodic_candidates,
1058 &ghost_contact_pair_periodic_candidates,
1060 &ghost_local_contact_pair_periodic_candidates,
1062 &sparse_contacts_object);
1066 dealii::Particles::ParticleHandler<3> &particle_handler,
1068 &cells_local_periodic_neighbor_list,
1070 &cells_ghost_periodic_neighbor_list,
1072 &cells_ghost_local_neighbor_list,
1074 &local_contact_pair_periodic_candidates,
1076 &ghost_contact_pair_periodic_candidates,
1078 &ghost_local_contact_pair_periodic_candidates,
1080 &sparse_contacts_object);
PropertiesIndex
Particle property indices for CFD-DEM multiphysics simulations.
This namespace defines all the data containers and required operations on these containers for the DE...
void find_particle_particle_periodic_contact_pairs(dealii::Particles::ParticleHandler< dim > &particle_handler, const typename dem_data_structures< dim >::cells_neighbor_list &cells_local_periodic_neighbor_list, const typename dem_data_structures< dim >::cells_neighbor_list &cells_ghost_periodic_neighbor_list, const typename dem_data_structures< dim >::cells_neighbor_list &cells_ghost_local_periodic_neighbor_list, typename dem_data_structures< dim >::particle_particle_candidates &local_contact_pair_periodic_candidates, typename dem_data_structures< dim >::particle_particle_candidates &ghost_contact_pair_periodic_candidates, typename dem_data_structures< dim >::particle_particle_candidates &ghost_local_contact_pair_periodic_candidates)
Finds vectors of pairs (particle_particle_candidates) which contains the candidate particle-particle ...
template void find_particle_particle_contact_pairs< 2, DEM::DEMProperties::PropertiesIndex >(dealii::Particles::ParticleHandler< 2 > &particle_handler, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_local_neighbor_list, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_ghost_neighbor_list, typename dem_data_structures< 2 >::particle_particle_candidates &local_contact_pair_candidates, typename dem_data_structures< 2 >::particle_particle_candidates &ghost_contact_pair_candidates, const AdaptiveSparseContacts< 2, DEM::DEMProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_particle_contact_pairs< 2 >(dealii::Particles::ParticleHandler< 2 > &particle_handler, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_local_neighbor_list, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_ghost_neighbor_list, typename dem_data_structures< 2 >::particle_particle_candidates &local_contact_pair_candidates, typename dem_data_structures< 2 >::particle_particle_candidates &ghost_contact_pair_candidates)
template void find_particle_particle_contact_pairs< 3, DEM::CFDDEMProperties::PropertiesIndex >(dealii::Particles::ParticleHandler< 3 > &particle_handler, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_local_neighbor_list, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_ghost_neighbor_list, typename dem_data_structures< 3 >::particle_particle_candidates &local_contact_pair_candidates, typename dem_data_structures< 3 >::particle_particle_candidates &ghost_contact_pair_candidates, const AdaptiveSparseContacts< 3, DEM::CFDDEMProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_particle_contact_pairs< 3, DEM::DEMMPProperties::PropertiesIndex >(dealii::Particles::ParticleHandler< 3 > &particle_handler, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_local_neighbor_list, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_ghost_neighbor_list, typename dem_data_structures< 3 >::particle_particle_candidates &local_contact_pair_candidates, typename dem_data_structures< 3 >::particle_particle_candidates &ghost_contact_pair_candidates, const AdaptiveSparseContacts< 3, DEM::DEMMPProperties::PropertiesIndex > &sparse_contacts_object)
void find_particle_particle_contact_pairs(dealii::Particles::ParticleHandler< dim > &particle_handler, const typename dem_data_structures< dim >::cells_neighbor_list &cells_local_neighbor_list, const typename dem_data_structures< dim >::cells_neighbor_list &cells_ghost_neighbor_list, typename dem_data_structures< dim >::particle_particle_candidates &local_contact_pair_candidates, typename dem_data_structures< dim >::particle_particle_candidates &ghost_contact_pair_candidates)
Finds a vector of pairs (particle_particle_candidates) which shows the candidate particle-particle co...
void store_candidates(const types::particle_index &main_particle_id, const typename Particles::ParticleHandler< dim >::particle_iterator_range::iterator &particle_begin, const typename Particles::ParticleHandler< dim >::particle_iterator_range &particles_to_evaluate, typename dem_data_structures< dim >::particle_particle_candidates &contact_pair_candidates)
template void find_particle_particle_contact_pairs< 2, DEM::CFDDEMProperties::PropertiesIndex >(dealii::Particles::ParticleHandler< 2 > &particle_handler, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_local_neighbor_list, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_ghost_neighbor_list, typename dem_data_structures< 2 >::particle_particle_candidates &local_contact_pair_candidates, typename dem_data_structures< 2 >::particle_particle_candidates &ghost_contact_pair_candidates, const AdaptiveSparseContacts< 2, DEM::CFDDEMProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_particle_contact_pairs< 3 >(dealii::Particles::ParticleHandler< 3 > &particle_handler, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_local_neighbor_list, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_ghost_neighbor_list, typename dem_data_structures< 3 >::particle_particle_candidates &local_contact_pair_candidates, typename dem_data_structures< 3 >::particle_particle_candidates &ghost_contact_pair_candidates)
template void find_particle_particle_contact_pairs< 3, DEM::DEMProperties::PropertiesIndex >(dealii::Particles::ParticleHandler< 3 > &particle_handler, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_local_neighbor_list, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_ghost_neighbor_list, typename dem_data_structures< 3 >::particle_particle_candidates &local_contact_pair_candidates, typename dem_data_structures< 3 >::particle_particle_candidates &ghost_contact_pair_candidates, const AdaptiveSparseContacts< 3, DEM::DEMProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_particle_contact_pairs< 2, DEM::DEMMPProperties::PropertiesIndex >(dealii::Particles::ParticleHandler< 2 > &particle_handler, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_local_neighbor_list, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_ghost_neighbor_list, typename dem_data_structures< 2 >::particle_particle_candidates &local_contact_pair_candidates, typename dem_data_structures< 2 >::particle_particle_candidates &ghost_contact_pair_candidates, const AdaptiveSparseContacts< 2, DEM::DEMMPProperties::PropertiesIndex > &sparse_contacts_object)
template void find_particle_particle_periodic_contact_pairs< 2 >(dealii::Particles::ParticleHandler< 2 > &particle_handler, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_local_periodic_neighbor_list, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_ghost_periodic_neighbor_list, const typename dem_data_structures< 2 >::cells_neighbor_list &cells_ghost_local_neighbor_list, typename dem_data_structures< 2 >::particle_particle_candidates &local_contact_pair_periodic_candidates, typename dem_data_structures< 2 >::particle_particle_candidates &ghost_contact_pair_periodic_candidates, typename dem_data_structures< 2 >::particle_particle_candidates &ghost_local_contact_pair_periodic_candidates)
template void find_particle_particle_periodic_contact_pairs< 3 >(dealii::Particles::ParticleHandler< 3 > &particle_handler, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_local_periodic_neighbor_list, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_ghost_periodic_neighbor_list, const typename dem_data_structures< 3 >::cells_neighbor_list &cells_ghost_local_neighbor_list, typename dem_data_structures< 3 >::particle_particle_candidates &local_contact_pair_periodic_candidates, typename dem_data_structures< 3 >::particle_particle_candidates &ghost_contact_pair_periodic_candidates, typename dem_data_structures< 3 >::particle_particle_candidates &ghost_local_contact_pair_periodic_candidates)
void find_particle_particle_contact_pairs(dealii::Particles::ParticleHandler< dim > &particle_handler, const typename DEM::dem_data_structures< dim >::cells_neighbor_list &cells_local_neighbor_list, const typename DEM::dem_data_structures< dim >::cells_neighbor_list &cells_ghost_neighbor_list, typename DEM::dem_data_structures< dim >::particle_particle_candidates &local_contact_pair_candidates, typename DEM::dem_data_structures< dim >::particle_particle_candidates &ghost_contact_pair_candidates)
Finds a vector of pairs (particle_particle_candidates) which shows the candidate particle-particle co...
std::vector< std::vector< typename Triangulation< dim >::active_cell_iterator > > cells_neighbor_list
ankerl::unordered_dense::map< types::particle_index, std::vector< types::particle_index > > particle_particle_candidates