Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
particle_wall_fine_search.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) 2020, 2022, 2024-2025 The Lethe Authors
2// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception OR LGPL-2.1-or-later
3
4#ifndef lethe_particle_wall_fine_search_h
5#define lethe_particle_wall_fine_search_h
6
9
10/**
11 * @brief Iterate over the contact candidates from particle-wall broad search
12 * (particle_wall_contact_pair_candidates) to add new contact pairs to the
13 * particle_wall_pairs_in_contact container
14 *
15 * @param particle_wall_contact_pair_candidates The output of particle-wall broad search
16 * which shows contact pair candidates
17 * @param particle_wall_pairs_in_contact An unordered_map of maps which stores
18 * all the particle-wall pairs which are physically in contact, and the
19 * contact information in a struct. Note that the size of this unordered map
20 * is equal to the number of particles
21 */
22template <int dim>
23void
26 &particle_wall_contact_pair_candidates,
28 &particle_wall_pairs_in_contact);
29
30/**
31 * @brief Iterate over the contact candidates from particle-floating wall broad
32 * search (particle_floating_wall_candidates) to add new contact pairs to the
33 * particle_floating_wall_pairs_in_contact container
34 *
35 * @param particle_floating_wall_contact_candidates The output of particle-floating wall
36 * broad search which shows contact pair candidates
37 * @param floating_wall_properties Properties of floating walls defined in the
38 * parameter handler
39 * @param simulation_time Simulation time
40 * @param particle_floating_wall_in_contact An unordered_map of maps which stores
41 * all the particle-floating wall pairs which are in contact, and
42 * the contact information in a struct. Note that the size of this unordered
43 * map is equal to the number of particles
44 */
45template <int dim>
46void
48 const typename DEM::dem_data_structures<
49 dim>::particle_floating_wall_candidates
50 &particle_floating_wall_contact_candidates,
51 const Parameters::Lagrangian::FloatingWalls<dim> &floating_wall_properties,
52 const double simulation_time,
54 &particle_floating_wall_in_contact);
55
56/**
57 * @brief Iterate over the contact candidates from particle-floating mesh broad
58 * search (particle_floating_mesh_contact_candidates) to add new contact pairs
59 * to the particle_floating_mesh_potentially_in_contact container
60 *
61 * @param particle_floating_mesh_contact_candidates The output of particle-floating mesh
62 * broad search which shows contact pair candidates
63 * @param particle_floating_mesh_potentially_in_contact A map of maps which stores
64 * all the particle-floating mesh pairs which are potentially in contact
65 */
66template <int dim>
67void
69 const typename DEM::dem_data_structures<
70 dim>::particle_floating_mesh_candidates
71 &particle_floating_mesh_contact_candidates,
73 dim>::particle_floating_mesh_potentially_in_contact
74 &particle_floating_mesh_potentially_in_contact);
75
76#endif
Parameters for floating walls in DEM simulations.
void particle_floating_wall_fine_search(const typename DEM::dem_data_structures< dim >::particle_floating_wall_candidates &particle_floating_wall_contact_candidates, const Parameters::Lagrangian::FloatingWalls< dim > &floating_wall_properties, const double simulation_time, typename DEM::dem_data_structures< dim >::particle_wall_in_contact &particle_floating_wall_in_contact)
Iterate over the contact candidates from particle-floating wall broad search (particle_floating_wall_...
void particle_floating_mesh_fine_search(const typename DEM::dem_data_structures< dim >::particle_floating_mesh_candidates &particle_floating_mesh_contact_candidates, typename DEM::dem_data_structures< dim >::particle_floating_mesh_potentially_in_contact &particle_floating_mesh_potentially_in_contact)
Iterate over the contact candidates from particle-floating mesh broad search (particle_floating_mesh_...
void particle_wall_fine_search(const typename DEM::dem_data_structures< dim >::particle_wall_candidates &particle_wall_contact_pair_candidates, typename DEM::dem_data_structures< dim >::particle_wall_in_contact &particle_wall_pairs_in_contact)
Iterate over the contact candidates from particle-wall broad search (particle_wall_contact_pair_candi...
DEM data structure containers To improve readability of containers, there's a simple description abov...
ankerl::unordered_dense::map< types::particle_index, ankerl::unordered_dense::map< global_face_id, particle_wall_contact_info< dim > > > particle_wall_in_contact
ankerl::unordered_dense::map< types::particle_index, ankerl::unordered_dense::map< global_face_id, std::tuple< Particles::ParticleIterator< dim >, Tensor< 1, dim >, Point< dim >, global_face_id > > > particle_wall_candidates