10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-23 21:03:49 +01:00

twist units in nexus script

This commit is contained in:
Kevin Gasperich 2020-05-08 16:49:04 -05:00
parent 3e8404901c
commit d58bf16961

View File

@ -174,6 +174,7 @@ for cell_type in cell_types:
print (cell_type) print (cell_type)
print ('===============================') print ('===============================')
s = diamond.structure.copy() s = diamond.structure.copy()
s.change_units('B') #required for supertwists to be in 1/au instead of 1/Å
kmap = s.kmap() kmap = s.kmap()
print ('supercell kpoints/twists') print ('supercell kpoints/twists')