mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-23 12:55:37 +01:00
twist units in nexus script
This commit is contained in:
parent
3e8404901c
commit
d58bf16961
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user