Skip to content

Commit

Permalink
Add CHANGELOG enty and remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaanDesai committed Dec 16, 2024
1 parent 283539c commit 0c38196
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## latest

- Remove the `adaptivity_data` data structure and handle all adaptivity data internally https://github.com/precice/micro-manager/pull/137
- Improve logging by wrapping Python logger in a class https://github.com/precice/micro-manager/pull/133
- Refactor large parts of solve and adaptivity to group datasets and simplify handling https://github.com/precice/micro-manager/pull/135
- Add information about adaptivity tuning parameters https://github.com/precice/micro-manager/pull/131
Expand Down
8 changes: 3 additions & 5 deletions micro_manager/micro_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,10 @@ def solve(self) -> None:

self._write_data_to_precice(micro_sims_output)

t += dt # increase internal time when time step is done.
n += 1 # increase counter
t += dt
n += 1

self._participant.advance(
dt
) # notify preCICE that time step of size dt is complete
self._participant.advance(dt)

# Revert micro simulations to their last checkpoints if required
if self._participant.requires_reading_checkpoint():
Expand Down

0 comments on commit 0c38196

Please sign in to comment.