Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BandDOS: Add automatic adjustments of numbands to reach given energy ... #174

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

janssenhenning
Copy link
Contributor

... above efermi. If the code is compiled with HDF5 (since I do not
want to get into bands text file parsing) and numbands is not set to all
a parameter bands_energy_above_fermi can be given in the
wf_parameters input to give a target energy. Then the numbands
parameter is adjusted until either

  1. The highest band minimum of the bandstructure is above the target
  2. The given numbands has no more effect on the bands calculated
    Meaning it's essentially equivalent to all

TODO:

  • A regression test for this should be relatively easy

... above efermi. If the code is compiled with HDF5 (since I do not
want to get into bands text file parsing) and numbands is not set to all
a parameter `bands_energy_above_fermi` can be given in the
`wf_parameters` input to give a target energy. Then the numbands
parameter is adjusted until either

1. The highest band minimum of the bandstructure is above the target
2. The given numbands has no more effect on the bands calculated
   Meaning it's essentially equivalent to `all`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant