Skip to content

Commit

Permalink
Indent
Browse files Browse the repository at this point in the history
  • Loading branch information
OGaboriault committed May 13, 2024
1 parent 629a798 commit b80d171
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions include/dem/insertion_clear_and_add.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ class InsertionClearAndAdd : public Insertion<dim>
virtual void
serialize(boost::archive::text_oarchive &ar, const unsigned int) override
{
ar & remaining_particles_of_each_type & current_inserting_particle_type &
current_file_id;
ar &remaining_particles_of_each_type &current_inserting_particle_type
&current_file_id;
}

/**
Expand All @@ -112,8 +112,8 @@ class InsertionClearAndAdd : public Insertion<dim>
virtual void
deserialize(boost::archive::text_iarchive &ar, const unsigned int) override
{
ar & remaining_particles_of_each_type & current_inserting_particle_type &
current_file_id;
ar &remaining_particles_of_each_type &current_inserting_particle_type
&current_file_id;
}

// Number of remaining particles of each type that should be inserted in the
Expand Down
4 changes: 1 addition & 3 deletions source/dem/dem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -953,9 +953,7 @@ DEMSolver<dim>::set_insertion_type(const DEMSolverParameters<dim> &parameters)
Parameters::Lagrangian::InsertionInfo::InsertionMethod::clear_and_add)
{
insertion_object = std::make_shared<InsertionClearAndAdd<dim>>(
parameters,
triangulation,
distribution_object_container);
parameters, triangulation, distribution_object_container);
}
else if (parameters.insertion_info.insertion_method ==
Parameters::Lagrangian::InsertionInfo::InsertionMethod::file)
Expand Down
2 changes: 1 addition & 1 deletion source/dem/insertion_clear_and_add.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ InsertionClearAndAdd<dim>::insert(
to_remove_iterators.reserve(particle_handler.n_locally_owned_particles());

// Loop over the first container
for (const auto &cell_in_box: in_the_clearing_box)
for (const auto &cell_in_box : in_the_clearing_box)
{
// Check if this cell has particles
auto particles_in_cell =
Expand Down

0 comments on commit b80d171

Please sign in to comment.