![]() |
deal.II version 9.7.0
|
#include <deal.II/particles/particle_accessor.h>
Data structure to describe the particles in a given cell. This is used inside an std::list in particle_container. The storage of this field is typically handled by ParticleHandler, using an std::list of this structure.
There are four main reasons for the present design:
Definition at line 86 of file particle_accessor.h.
Public Member Functions | |
| ParticlesInCell ()=default | |
| ParticlesInCell (const std::vector< typename PropertyPool< dim, spacedim >::Handle > &particles, const typename Triangulation< dim, spacedim >::active_cell_iterator &cell) | |
Public Attributes | |
| std::vector< typename PropertyPool< dim, spacedim >::Handle > | particles |
| Triangulation< dim, spacedim >::active_cell_iterator | cell |
|
default |
Default constructor.
|
inline |
Construct from a vector of particles and a cell iterator.
Definition at line 96 of file particle_accessor.h.
| std::vector<typename PropertyPool<dim, spacedim>::Handle> Particles::ParticleAccessor< dim, spacedim >::ParticlesInCell::particles |
A vector of particles on a cell.
Definition at line 107 of file particle_accessor.h.
| Triangulation<dim,spacedim>::active_cell_iterator Particles::ParticleAccessor< dim, spacedim >::ParticlesInCell::cell |
The underlying cell.
Definition at line 112 of file particle_accessor.h.