mirror of
https://github.com/triqs/dft_tools
synced 2025-04-21 16:00:19 +02:00

There was a mess with indices 'ib_min', 'ib_max' indicating the selected window. First of all their old names 'nb_min', 'nb_max' were confusing and because of that they were sometimes incorrectly used as the maximum size of the window and sometimes as a maximum band index. Now the convention is more clear: 'ib_min', 'ib_max' correspond to the minimum/maximum band indices (in terms of original VASP indices) and 'nb_max == ib_max - ib_min + 1' is the maximum number of bands within the window.