-
Notifications
You must be signed in to change notification settings - Fork 874
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
Line mode and reciprocal density bug int MPHSEBSSet #3607
Comments
Hi @fraricci, thanks for bringing this up. In the older version of In the new version of the input sets, the mpset = MPHSEBSSet(
st,
mode="Line",
user_kpoints_settings={"reciprocal_density":100, "zero_weighted_line_density": 20}
) The reason for this is that I wanted to always respect The recommendation is to simply configure everything using the init parameters, which will configure the k-points for you. For completeness, these are: MPHSEBSSet(
reciprocal_density=50, # controls density of weighted uniform mesh for all modes
kpoints_line_density=20, # controls density of zero weighted line k-points for mode=line
zero_weighted_reciprocal_density=100 # controls density of zero weighted uniform for mode=uniform_dense
) |
Hi @utf , thanks for the explanation here. Though, I still find this behavior a little obscure for these reasons:
Anyway, I agree the best way is to just use the init parameters. |
Python version
python 3.11
Pymatgen version
2024.1.27
Operating system version
No response
Current behavior
In:
mpset = MPHSEBSSet(st, mode="Line",reciprocal_density=100)
Out: Correct list of kpoints
In:
mpset = MPHSEBSSet(st, mode="Line",user_kpoints_settings={"reciprocal_density":100})
Out:
Expected Behavior
In:
mpset = MPHSEBSSet(st, mode="Line",user_kpoints_settings={"reciprocal_density":100})
Out: Correct list of kpoints
Minimal example
No response
Relevant files to reproduce this bug
No response
The text was updated successfully, but these errors were encountered: