16 #ifndef dealii_particles_particle_accessor_h 17 #define dealii_particles_particle_accessor_h 19 #include <deal.II/particles/particle.h> 20 #include <deal.II/base/array_view.h> 21 #include <deal.II/grid/tria.h> 23 DEAL_II_NAMESPACE_OPEN
30 template<
int dim,
int spacedim=dim>
31 class ParticleAccessor
48 write_data(
void *&data)
const;
65 get_location ()
const;
74 set_reference_location (
const Point<dim> &new_reference_location);
80 get_reference_location ()
const;
103 has_properties ()
const;
112 set_properties (
const std::vector<double> &new_properties);
128 get_properties ()
const;
136 serialized_size_in_bytes()
const;
150 template <
class Archive>
151 void serialize (Archive &ar,
const unsigned int version);
166 bool operator != (
const ParticleAccessor<dim,spacedim> &other)
const;
171 bool operator == (
const ParticleAccessor<dim,spacedim> &other)
const;
192 std::multimap<internal::LevelInd, Particle<dim,spacedim> > *map;
198 typename std::multimap<internal::LevelInd, Particle<dim,spacedim> >::iterator particle;
209 DEAL_II_NAMESPACE_CLOSE
unsigned int particle_index