When doing Γ-point calculations, even with a perfectly symmetric crystal cell, the symmetries filed of the PlaneWaveBasis only contains a single element: One(SymOp). This is quite counterintuitive to me, and can be tracked down to:
|
function symmetries_preserving_kgrid(symmetries, kgrid::MonkhorstPack) |
|
if all(isone, kgrid.kgrid_size) |
|
# TODO Keeping this special casing from version of the code before refactor |
|
[one(SymOp)] |
|
else |
This TODO was added in December 2023. Is it a bug or a feature, and should we add back symmetries for Γ-point calculations?
When doing Γ-point calculations, even with a perfectly symmetric crystal cell, the
symmetriesfiled of thePlaneWaveBasisonly contains a single element:One(SymOp). This is quite counterintuitive to me, and can be tracked down to:DFTK.jl/src/symmetry.jl
Lines 167 to 171 in 781fa06
This
TODOwas added in December 2023. Is it a bug or a feature, and should we add back symmetries for Γ-point calculations?