diff --git a/src/utils_complex/generate_pyscf_twists.py b/src/utils_complex/generate_pyscf_twists.py index f6f9be95..9b659398 100644 --- a/src/utils_complex/generate_pyscf_twists.py +++ b/src/utils_complex/generate_pyscf_twists.py @@ -174,6 +174,7 @@ for cell_type in cell_types: print (cell_type) print ('===============================') s = diamond.structure.copy() + s.change_units('B') #required for supertwists to be in 1/au instead of 1/Å kmap = s.kmap() print ('supercell kpoints/twists')