Skip to content

Commit

Permalink
update tests with properties
Browse files Browse the repository at this point in the history
  • Loading branch information
gouarin committed Jun 26, 2024
1 parent aaf13ef commit 3e4c924
Show file tree
Hide file tree
Showing 18 changed files with 3,283 additions and 1,383 deletions.
2 changes: 1 addition & 1 deletion include/scopi/solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ namespace scopi
update_velocity();
move_active_particles();

if (nite % m_params.output_frequency == 0 && m_params.output_frequency != std::size_t(-1))
if ((nite + 1) % m_params.output_frequency == 0 && m_params.output_frequency != std::size_t(-1))
{
write_output_files(contacts, nite + 1); // m_current_save++);
}
Expand Down
Loading

0 comments on commit 3e4c924

Please sign in to comment.