SmartPointer< const Mapping< dim > > mapping
Smart pointer to the mapping associated with the triangulation.
std::vector< std::vector< BoundingBox< dim > > > global_bounding_boxes
void output_particles(const std::string &output_name) const
Outputs the current state of the particles to a file.
std::map< unsigned int, IndexSet > insert_points(const std::vector< Point< dim > > &points, const std::vector< std::vector< double > > &properties={})
std::vector< std::vector< BoundingBox< dim > > > get_global_bounding_boxes() const
const Particles::ParticleHandler< dim > & get_particles() const
MPI_Comm mpi_communicator
Get the MPI communicator associated with the triangulation.
SmartPointer< const parallel::TriangulationBase< dim > > tria_background
Smart pointer to the background triangulation.
Particles::ParticleHandler< dim > particles
Handler for managing particles in the simulation.
const ParticleCouplingParameters< dim > & par
Parameters for particle coupling.
void initialize_particle_handler(const parallel::TriangulationBase< dim > &tria_background, const Mapping< dim > &mapping=StaticMappingQ1< dim >::mapping)
ParticleCoupling(const ParticleCouplingParameters< dim > &par)
Constructor.
Stores parameters related to particle coupling in a simulation.
ParticleCouplingParameters()
Constructor that initializes the parameters.
unsigned int rtree_extraction_level