flush stdout

Former-commit-id: a9a5aa501e7db20d5fae48844cc19e1bfad14a02
This commit is contained in:
Marek Nečada 2017-02-16 03:53:11 +02:00
parent 95644e2cdf
commit add59b6635
1 changed files with 1 additions and 0 deletions

View File

@ -312,6 +312,7 @@ for trfile in os.scandir(translations_dir):
omega = k_0 * c / math.sqrt(epsilon_b)
omegalist.append(omega)
print(filecount, omega/eV*hbar)
sys.stdout.flush()
a_self = tdic['a_self'][:,:nelem,:nelem]
b_self = tdic['b_self'][:,:nelem,:nelem]
a_u2d = tdic['a_u2d'][:,:nelem,:nelem]