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

User specified list of k-points for the band structure calculation #519

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

Conversation

npaulish
Copy link
Collaborator

@npaulish npaulish commented Oct 2, 2024

Allow a user specified list of k-points for the band structure calculation and add respective test case.

  • Add input tags explicit_kpath and explicit_kpath_labels
  • If explicit_kpath_labels and explicit_kpath are present in input, the band interpolation code will use an explicitly provided list of kpoints specified by explicit_kpath, instead of using bands_num_points to auto generate a list of kpoints.
  • Additional tests for band.dat and labelinfo.dat files
  • Test case and a parser for band.kpt file

This allows a finer control of the list of k-points to be interpolated e.g. for direct comparison with PW eigenvalues, and solves #460

@npaulish npaulish force-pushed the explicit_kpath branch 2 times, most recently from e923f52 to ce98b27 Compare October 2, 2024 13:39
src/types.F90 Outdated Show resolved Hide resolved
Copy link
Collaborator

@qiaojunfeng qiaojunfeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the comments in types.F90, I think it is in fractional coordinate?

npaulish and others added 2 commits October 6, 2024 17:58
…ation.

 * Add input tags `explicit_kpath` and `explicit_kpath_labels`
 * If `explicit_kpath_labels` and `explicit_kpath` are present in input,
the band interpolation code will use an explicitly provided list of kpoints
specified by `explicit_kpath`, instead of using `bands_num_points` to auto generate a list of kpoints.

This allows a finer control of the list of kpoints to be interpolated and
direct comparison with PW eigenvalues.

Co-authored-by: Junfeng Qiao <[email protected]>
 * Additional tests for band.dat and labelinfo.dat files
 * Test and parser for band.kpt file

 * Add input files for test explicit_kpath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants