triqs_dft_tools.converters.vasp.VaspConverter.read_fortran_file
- VaspConverter.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.