Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
particle_handler_conversion.h File Reference
#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>
Include dependency graph for particle_handler_conversion.h:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

◆ convert_particle_handler()

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 )

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.

Template Parameters
dimthe number of dimensions
inputthe properties index used for the ph_in
outputthe properties index used for the ph_out
Parameters
[in]triangulationThe triangulation on which the ph_out is stored
[in]ph_inThe input particle_handler that has properties identified by the input.
[out]ph_outThe 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.