16 #ifndef dealii_particles_particle_accessor_h 17 #define dealii_particles_particle_accessor_h 19 #include <deal.II/base/array_view.h> 21 #include <deal.II/grid/tria.h> 23 #include <deal.II/particles/particle.h> 25 DEAL_II_NAMESPACE_OPEN
34 template <
int dim,
int spacedim = dim>
35 class ParticleAccessor
52 write_data(
void *&data)
const;
78 set_reference_location(
const Point<dim> &new_reference_location);
84 get_reference_location()
const;
107 has_properties()
const;
116 set_properties(
const std::vector<double> &new_properties);
132 get_properties()
const;
140 serialized_size_in_bytes()
const;
149 get_surrounding_cell(
155 template <
class Archive>
157 serialize(Archive &ar,
const unsigned int version);
175 operator!=(
const ParticleAccessor<dim, spacedim> &other)
const;
181 operator==(
const ParticleAccessor<dim, spacedim> &other)
const;
196 const typename std::multimap<internal::LevelInd,
205 std::multimap<internal::LevelInd, Particle<dim, spacedim>> *map;
211 typename std::multimap<internal::LevelInd,
225 DEAL_II_NAMESPACE_CLOSE
unsigned long long int particle_index