![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <dem/data_containers.h>Go to the source code of this file.
Functions | |
| template<int dim, typename PropertiesIndex> | |
| void | particle_point_fine_search (const typename DEM::dem_data_structures< dim >::particle_point_candidates &particle_point_contact_candidates, const double neighborhood_threshold, typename DEM::dem_data_structures< dim >::particle_point_in_contact &particle_point_pairs_in_contact) |
| template<int dim, typename PropertiesIndex> | |
| void | particle_line_fine_search (const typename DEM::dem_data_structures< dim >::particle_line_candidates &particle_line_contact_candidates, const double neighborhood_threshold, typename DEM::dem_data_structures< dim >::particle_line_in_contact &particle_line_pairs_in_contact) |
| Point< 3 > | find_projection_point (const Point< 3 > &point_p, const Point< 3 > &point_a, const Point< 3 > &point_b) |
|
inline |
This private function is used to find the projection of point_p on a line with beginning and ending vertices of point_a and point_b, respectively.
| point_p | A point which is going to be projected on the line |
| point_a | Beginning point of the line |
| point_b | Ending point of the line |
Definition at line 138 of file particle_point_line_fine_search.cc.
| void particle_line_fine_search | ( | const typename DEM::dem_data_structures< dim >::particle_line_candidates & | particle_line_contact_candidates, |
| const double | neighborhood_threshold, | ||
| typename DEM::dem_data_structures< dim >::particle_line_in_contact & | particle_line_pairs_in_contact ) |
Iterate over a map of tuples (particle_line_contact_candidates) to see if the particle-line pairs are in contact or not. If they are in contact, the normal overlap, normal vector of contact and contact normal relative velocity are stored in a map which is the output of this function.
| dim | An integer that denotes the number of spatial dimensions. |
| PropertiesIndex | Index of the properties used within the ParticleHandler. |
| particle_line_contact_candidates | The output of particle-line broad search which shows contact pair candidates. |
| neighborhood_threshold | A value which defines the neighbor particles. |
| particle_line_pairs_in_contact | A map which contains all the required information (normal overlap, normal vector and contact normal relative velocity) for calculation of particle-line contact force. |
Definition at line 78 of file particle_point_line_fine_search.cc.
References find_projection_point(), particle_line_contact_info< dim >::particle, point_nd_to_3d(), particle_line_contact_info< dim >::point_one, and particle_line_contact_info< dim >::point_two.
| void particle_point_fine_search | ( | const typename DEM::dem_data_structures< dim >::particle_point_candidates & | particle_point_contact_candidates, |
| const double | neighborhood_threshold, | ||
| typename DEM::dem_data_structures< dim >::particle_point_in_contact & | particle_point_pairs_in_contact ) |
Iterate over a map of pairs (particle_point_contact_candidates) to see if the particle-point pairs are in contact or not. If they are in contact, the normal overlap, normal vector of contact and contact normal relative velocity are stored in a map which is the output of this function.
| dim | An integer that denotes the number of spatial dimensions. |
| PropertiesIndex | Index of the properties used within the ParticleHandler. |
| particle_point_contact_candidates | The output of particle-point broad search which shows contact pair candidates. |
| neighborhood_threshold | A value which defines the neighbor particles. |
| particle_point_pairs_in_contact | A map which contains all the required information (normal overlap, normal vector and contact normal relative velocity) for calculation of particle-point contact force. |
Definition at line 20 of file particle_point_line_fine_search.cc.
References particle_point_contact_info< dim >::particle, particle_point_contact_info< dim >::point, and point_nd_to_3d().