diff --git a/include/aspect/particle/manager.h b/include/aspect/particle/manager.h index 09d77796d5b..15fbf87bc64 100644 --- a/include/aspect/particle/manager.h +++ b/include/aspect/particle/manager.h @@ -418,12 +418,13 @@ namespace aspect * function will fill this structure with the necessary data. * @param positions The reference positions of the particles in the cell. * This function will update these positions for the current cell. + * @param evaluation_flags The required evaluation flags for each component. * @param evaluator The solution evaluator that is used to update the particles. */ void local_update_particles(Property::ParticleUpdateInputs &inputs, small_vector> &positions, - std::vector &evaluation_flags, + const std::vector &evaluation_flags, SolutionEvaluator &evaluator); /** diff --git a/source/particle/manager.cc b/source/particle/manager.cc index 8fbe6dee57d..31208aa626c 100644 --- a/source/particle/manager.cc +++ b/source/particle/manager.cc @@ -445,7 +445,7 @@ namespace aspect void Manager::local_update_particles(Property::ParticleUpdateInputs &inputs, small_vector> &positions, - std::vector &evaluation_flags, + const std::vector &evaluation_flags, SolutionEvaluator &evaluator) { const unsigned int n_particles = particle_handler->n_particles_in_cell(inputs.current_cell);