Skip to content

Commit

Permalink
tqdm final touch and remove time imports
Browse files Browse the repository at this point in the history
  • Loading branch information
andr1976 committed Oct 4, 2021
1 parent b2ff47c commit 7161c6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions scripts/hyddown_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import yaml
import sys
import time

try:
from hyddown import HydDown
Expand All @@ -28,8 +27,6 @@


hdown=HydDown(input)
start = time.time()
hdown.run()
end = time.time()
print('Elapsed time: ',end-start,' sec.')

hdown.run(disable_pbar=False)
hdown.plot()
2 changes: 1 addition & 1 deletion src/hyddown/hdclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def UDproblem(self, U, rho, Pguess, Tguess):
return P1, T1, Ures


def run(self,disable_pbar=False):
def run(self,disable_pbar=True):
"""
Routine for running the actual problem defined i.e. integrating the mass and energy balances
"""
Expand Down
1 change: 0 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import yaml
import sys
from hyddown import HydDown
import time


if __name__ == "__main__":
Expand Down

0 comments on commit 7161c6c

Please sign in to comment.