Skip to content

Commit

Permalink
Merge pull request #6148 from tjhei/doxy-warn
Browse files Browse the repository at this point in the history
make argument const and document
  • Loading branch information
gassmoeller authored Nov 13, 2024
2 parents 5333cc9 + 4505bd2 commit e9cd1c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion include/aspect/particle/manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<dim> &inputs,
small_vector<Point<dim>> &positions,
std::vector<EvaluationFlags::EvaluationFlags> &evaluation_flags,
const std::vector<EvaluationFlags::EvaluationFlags> &evaluation_flags,
SolutionEvaluator<dim> &evaluator);

/**
Expand Down
2 changes: 1 addition & 1 deletion source/particle/manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ namespace aspect
void
Manager<dim>::local_update_particles(Property::ParticleUpdateInputs<dim> &inputs,
small_vector<Point<dim>> &positions,
std::vector<EvaluationFlags::EvaluationFlags> &evaluation_flags,
const std::vector<EvaluationFlags::EvaluationFlags> &evaluation_flags,
SolutionEvaluator<dim> &evaluator)
{
const unsigned int n_particles = particle_handler->n_particles_in_cell(inputs.current_cell);
Expand Down

0 comments on commit e9cd1c8

Please sign in to comment.