Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
update_local_particle_containers.h File Reference
#include <dem/contact_info.h>
#include <dem/contact_type.h>
#include <dem/data_containers.h>
#include <deal.II/particles/particle_handler.h>
Include dependency graph for update_local_particle_containers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<int dim>
void update_particle_container (typename DEM::dem_data_structures< dim >::particle_index_iterator_map &particle_container, const Particles::ParticleHandler< dim > *particle_handler)
template<int dim, typename pairs_structure, ContactType contact_type>
void update_contact_container_iterators (pairs_structure &pairs_in_contact, const typename DEM::dem_data_structures< dim >::particle_index_iterator_map &particle_container)

Function Documentation

◆ update_contact_container_iterators()

template<int dim, typename pairs_structure, ContactType contact_type>
void update_contact_container_iterators ( pairs_structure & pairs_in_contact,
const typename DEM::dem_data_structures< dim >::particle_index_iterator_map & particle_container )

Update the iterators to particles in pairs_in_contact (output of particle-object fine search).

Template Parameters
dimDimensionality of the geometry which contains the particles
pairs_structureAdjacent particle-object pairs container type.
contact_typeLabel of contact type to apply proper manipulation of contact removal in containers.
Parameters
pairs_in_contactOutput of particle-object fine search.
particle_containerOutput of update_particle_container function.

Definition at line 42 of file update_local_particle_containers.cc.

References DEMActionManager::get_action_manager(), ghost_local_periodic_particle_particle, ghost_particle_particle, ghost_periodic_particle_particle, local_particle_particle, local_periodic_particle_particle, particle_floating_mesh, particle_floating_wall, particle_line, particle_point, and particle_wall.

◆ update_particle_container()

template<int dim>
void update_particle_container ( typename DEM::dem_data_structures< dim >::particle_index_iterator_map & particle_container,
const Particles::ParticleHandler< dim > * particle_handler )

Update the iterators to local particles in a map of particles (particle_container).

Template Parameters
dimDimensionality of the geometry which contains the particles
Parameters
particle_containerA map of particles which is used to update the iterators to particles in particle-particle and particle-wall fine search outputs after calling sort particles into cells function
particle_handlerParticle handler to access all the particles in the system

Definition at line 13 of file update_local_particle_containers.cc.