Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaanDesai committed Apr 22, 2024
1 parent f12f60d commit 4171fa9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions micro_manager/micro_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ def solve(self) -> None:

while self._participant.is_coupling_ongoing():

self._dt = self._participant.get_max_time_step_size() # ask preCICE at beginning of time step for allowed time step size
self._dt = (
self._participant.get_max_time_step_size()
) # ask preCICE at beginning of time step for allowed time step size

# Write a checkpoint
if self._participant.requires_writing_checkpoint():
Expand Down Expand Up @@ -261,7 +263,9 @@ def solve(self) -> None:

t += self._dt # increase internal time when time step is done.
n += 1 # increase counter
self._participant.advance(self._dt) # notify preCICE that time step of size self._dt is complete
self._participant.advance(
self._dt
) # notify preCICE that time step of size self._dt is complete

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

0 comments on commit 4171fa9

Please sign in to comment.