Skip to content

Commit

Permalink
Delete unnecessary variable for timestep
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriele-ferrero committed Oct 5, 2023
1 parent 067dd67 commit 56938e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion festim/generic_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ def iterate(self):
def display_time(self):
"""Displays the current time"""
simulation_percentage = round(self.t / self.settings.final_time * 100, 2)
simulation_time = round(self.t, 1)
elapsed_time = round(self.timer.elapsed()[0], 1)
msg = "{:.1f} % ".format(simulation_percentage)
msg += "{:.1e} s".format(self.t)
Expand Down

0 comments on commit 56938e1

Please sign in to comment.