types::particle_index
get_next_free_particle_index() const;
- /**
- * Extract an IndexSet with global dimensions equal to
- * get_next_free_particle_index(), containing the locally owned
- * particle indices.
- *
- * This function can be used to construct distributed vectors and matrices
- * to manipulate particles using linear algebra operations.
- *
- * Notice that it is the user's responsibility to guarantee that particle
- * indices are unique, and no check is performed to verify that this is the
- * case, nor that the union of all IndexSet objects on each mpi process is
- * complete.
- *
- * @return An IndexSet of size get_next_free_particle_index(), containing
- * n_locally_owned_particle() indices.
- *
- * @deprecated Use locally_owned_particle_ids() instead.
- */
- DEAL_II_DEPRECATED IndexSet
- locally_relevant_ids() const;
-
/**
* Extract an IndexSet with global dimensions equal to
* get_next_free_particle_index(), containing the locally owned
output_vector.compress(VectorOperation::insert);
}
-
-
- template <int dim, int spacedim>
- inline IndexSet
- ParticleHandler<dim, spacedim>::locally_relevant_ids() const
- {
- return this->locally_owned_particle_ids();
- }
-
} // namespace Particles
DEAL_II_NAMESPACE_CLOSE