Skip to content

No symmetries for Γ-point calculations #1095

@abussy

Description

@abussy

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:

DFTK.jl/src/symmetry.jl

Lines 167 to 171 in 781fa06

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions