16 #ifndef dealii_particles_particle_iterator_h 17 #define dealii_particles_particle_iterator_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/particles/particle_accessor.h> 22 DEAL_II_NAMESPACE_OPEN
26 template <
int,
int>
class ParticleHandler;
33 template<
int dim,
int spacedim=dim>
34 class ParticleIterator
46 ParticleIterator (
const std::multimap<internal::LevelInd, Particle<dim,spacedim> > &map,
47 const typename std::multimap<internal::LevelInd, Particle<dim,spacedim> >::iterator &particle);
53 const ParticleAccessor<dim,spacedim> &
operator * ()
const;
71 const ParticleAccessor<dim,spacedim> *
operator -> ()
const;
81 bool operator == (
const ParticleIterator<dim,spacedim> &)
const;
86 bool operator != (
const ParticleIterator<dim,spacedim> &)
const;
122 typedef ParticleAccessor<dim,spacedim> value_type;
123 typedef std::ptrdiff_t difference_type;
124 typedef ParticleAccessor<dim,spacedim> *pointer;
125 typedef ParticleAccessor<dim,spacedim> &reference;
135 DEAL_II_NAMESPACE_CLOSE
ParticleIterator & operator=(const ParticleIterator &)
ParticleIterator & operator--()
std::bidirectional_iterator_tag iterator_category
ParticleIterator & operator++()
bool operator==(const ParticleIterator< dim, spacedim > &) const
const ParticleAccessor< dim, spacedim > & operator*() const
const ParticleAccessor< dim, spacedim > * operator->() const
ParticleIterator()=default
bool operator!=(const ParticleIterator< dim, spacedim > &) const
ParticleAccessor< dim, spacedim > accessor