triqs_dft_tools.converters.wien2k.Wien2kConverter.read_fortran_file

Wien2kConverter.read_fortran_file(filename, to_replace)

Returns a generator that yields all numbers in the Fortran file as float, with possible replacements.

Parameters:
filenamestring

Name of Fortran-produced file.

to_replacedict of str:str

Dictionary defining old_char:new_char.

Returns:
string

The next number in file.