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
37 template <
int dim,
int spacedim = dim>
158 template <
class Archive>
160 serialize(Archive &ar,
const unsigned int version);
199 const typename std::multimap<internal::LevelInd,
208 std::multimap<internal::LevelInd, Particle<dim, spacedim>> *
map;
214 typename std::multimap<internal::LevelInd,
229 template <
int dim,
int spacedim>
230 template <
class Archive>
233 const unsigned int version)
235 return particle->second.serialize(ar, version);
241 DEAL_II_NAMESPACE_CLOSE
std::multimap< internal::LevelInd, Particle< dim, spacedim > > * map
std::multimap< internal::LevelInd, Particle< dim, spacedim > >::iterator particle
const Point< spacedim > & get_location() const
void set_property_pool(PropertyPool &property_pool)
void set_reference_location(const Point< dim > &new_reference_location)
const ArrayView< double > get_properties()
Triangulation< dim, spacedim >::cell_iterator get_surrounding_cell(const Triangulation< dim, spacedim > &triangulation) const
void serialize(Archive &ar, const unsigned int version)
unsigned int particle_index
const Point< dim > & get_reference_location() const
types::particle_index get_id() const
bool has_properties() const
void write_data(void *&data) const
void set_location(const Point< spacedim > &new_location)
void set_properties(const std::vector< double > &new_properties)
std::size_t serialized_size_in_bytes() const
bool operator==(const ParticleAccessor< dim, spacedim > &other) const
bool operator!=(const ParticleAccessor< dim, spacedim > &other) const