![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <core/dem_properties.h>#include <deal.II/grid/filtered_iterator.h>#include <deal.II/grid/grid_tools.h>#include <deal.II/particles/particle_handler.h>#include <deal.II/particles/particle_iterator.h>Go to the source code of this file.
Functions | |
| template<int dim, typename input, typename output> | |
| void | convert_particle_handler (const parallel::distributed::Triangulation< dim > &triangulation, const Particles::ParticleHandler< dim > &ph_in, Particles::ParticleHandler< dim > &ph_out) |
| void convert_particle_handler | ( | const parallel::distributed::Triangulation< dim > & | triangulation, |
| const Particles::ParticleHandler< dim > & | ph_in, | ||
| Particles::ParticleHandler< dim > & | ph_out ) |
Converts an input particle handler with a given set of input properties into an output particle handler with a different set of output properties. This is used, notably, to convert DEM simulation particle_handlers into CFD-DEM particle_handlers.
| dim | the number of dimensions |
| input | the properties index used for the ph_in |
| output | the properties index used for the ph_out |
| [in] | triangulation | The triangulation on which the ph_out is stored |
| [in] | ph_in | The input particle_handler that has properties identified by the input. |
| [out] | ph_out | The output particle_handler that has properties identified by the output. |
Definition at line 34 of file particle_handler_conversion.h.
References DEM::has_thermal_properties.