3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 20:34:38 +01:00

Merge pull request #173 from thenoursehorse/plovasp-kweight-fix

Normalization of kwghts in plovasp
This commit is contained in:
Alexander Hampel 2021-06-23 08:33:01 -04:00 committed by GitHub
commit d5401cb4c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -504,7 +504,7 @@ class Kpoints:
self.kpts[ik, :] = list(map(float, sline[:3]))
self.kwghts[ik] = float(sline[3])
self.kwghts /= self.nktot
self.kwghts /= np.sum(self.kwghts)
# Attempt to read tetrahedra
# Skip comment line ("Tetrahedra")