![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <contact_info.h>
Public Attributes | |
| Tensor< 1, dim > | periodic_offset |
| Public Attributes inherited from particle_particle_contact_info< dim > | |
| Particles::ParticleIterator< dim > | particle_two |
| Tensor< 1, 3 > | tangential_displacement |
| Tensor< 1, 3 > | rolling_resistance_spring_torque |
Derived struct of the base struct particle_particle_contact_info for periodic particle-particle contacts. Adds a translation vector that brings particle_two into contact with particle_one.
periodic_offset is also reused by particle_particle_fine_search as a cache of the nearest periodic image found on a previous call: for a persisting contact this translation is re-validated against the pair's current positions rather than recomputed from scratch on every call, since it practically never changes between fine search calls.
Definition at line 45 of file contact_info.h.
| Tensor<1, dim> periodic_particle_particle_contact_info< dim >::periodic_offset |
Definition at line 48 of file contact_info.h.