mirror of
https://github.com/triqs/dft_tools
synced 2025-01-06 11:28:44 +01:00
fixed normalization of kwghts to allow symmetries - very tunnel visioned and haven't checked anything else
This commit is contained in:
parent
db8a7e543e
commit
75a7749180
@ -504,7 +504,7 @@ class Kpoints:
|
|||||||
self.kpts[ik, :] = list(map(float, sline[:3]))
|
self.kpts[ik, :] = list(map(float, sline[:3]))
|
||||||
self.kwghts[ik] = float(sline[3])
|
self.kwghts[ik] = float(sline[3])
|
||||||
|
|
||||||
self.kwghts /= self.nktot
|
self.kwghts /= np.sum(self.kwghts)
|
||||||
|
|
||||||
# Attempt to read tetrahedra
|
# Attempt to read tetrahedra
|
||||||
# Skip comment line ("Tetrahedra")
|
# Skip comment line ("Tetrahedra")
|
||||||
|
Loading…
Reference in New Issue
Block a user