UNFOLDING

References: Quan2026

Unfold the supercell band structure onto a primitive cell. When this section is enabled, SPECIAL_POINTs give primitive-cell k coordinates. CP2K diagonalizes the unique folded supercell K-points and writes the total spectral weight in column 4 of the band structure file (followed by per-group weights when multiple ATOMS groups are defined). [Edit on GitHub]

Mentions: ⭐Band Structure Unfolding

Keywords

Keyword descriptions

ATOMS

Type: integer[ ]
Repeatable: yes
Usage: ATOMS 1..24

Description: Select which supercell atoms are unfolded. Repeat the keyword to define disjoint atom groups; equivalent primitive-cell sites (see SYMM_TOL) are identified independently within each group.

  • Absent: all atoms are unfolded together as a single group.

  • Given once: only the listed atoms are unfolded; unlisted atoms are excluded from the weights (e.g., a film on an incommensurate substrate).

  • Given \(G \ge 2\) times: each group is unfolded independently. Column 4 holds the combined weight and columns 5 to \(4+G\) hold the per-group weights (e.g., layer-resolved weights in a heterostructure). Atoms not listed in any group are excluded. With \(\mathbf{M} = \mathbf{I}\) this reduces to Loewdin-projected (fat) bands per group. [Edit on GitHub]

Mentions: ⭐Band Structure Unfolding

SYMM_TOL

Type: real
Default: 5.00000000E-001 [angstrom]
Usage: SYMM_TOL 0.5

Description: Cartesian tolerance used to identify equivalent sites: sets of supercell atoms that are images of the same primitive-cell site under primitive lattice translations. Atoms are matched by element (with GHOST kinds treated as their base element), and equivalent atoms must share the same basis set. In an ideal supercell each set contains \(m = |\det\mathbf{M}|\) atoms; a vacancy leaves an incomplete set with fewer members. The tolerance must be positive and smaller than half the smallest primitive-cell plane distance (checked at runtime), with a \(0.5\,\mathrm{\AA}\) default suited to typical thermal displacements. Check the UNFOLD_BAND| summary in the output: if large relaxations split equivalent atoms into unexpected incomplete sets (leaving uncancelled folded bands), increase SYMM_TOL; if nearby inequivalent sites trigger an assignment-conflict or ambiguity abort, decrease SYMM_TOL or separate them with ATOMS. [Edit on GitHub]

Mentions: ⭐Band Structure Unfolding

TRANSFORMATION_MATRIX

Type: integer[9]
Default: 1 0 0 0 1 0 0 0 1
Usage: TRANSFORMATION_MATRIX 1 1 0 0 2 0 0 0 1

Description: Integer \(3 \times 3\) matrix \(\mathbf{M}\) relating the supercell vectors \(\mathbf{A}_1, \mathbf{A}_2, \mathbf{A}_3\) in CELL (after MULTIPLE_UNIT_CELL, if any) to the target primitive-cell vectors \(\mathbf{a}_1, \mathbf{a}_2, \mathbf{a}_3\): \([\mathbf{A}_1\ \mathbf{A}_2\ \mathbf{A}_3] = [\mathbf{a}_1\ \mathbf{a}_2\ \mathbf{a}_3]\,\mathbf{M}\), so column \(j\) of \(\mathbf{M}\) gives the expansion coefficients \(\mathbf{A}_j = \sum_{i=1}^{3} M_{ij}\mathbf{a}_i\). Give the nine entries row by row.

Example: a hexagonal primitive cell (\(\gamma = 120^\circ\)) and its orthorhombic supercell \(\mathbf{A}_1 = \mathbf{a}_1\), \(\mathbf{A}_2 = \mathbf{a}_1 + 2\mathbf{a}_2\), \(\mathbf{A}_3 = \mathbf{a}_3\) give \(\mathbf{M} = \begin{bmatrix} 1 & 1 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 1 \end{bmatrix}\) (\(m = |\det\mathbf{M}| = 2\)), entered as 1 1 0 0 2 0 0 0 1. This column-vector convention matches VESTA and Phonopy, and is the transpose of row-vector conventions such as ASE and pymatgen. To verify \(\mathbf{M}\), compare the primitive cell vectors printed in the UNFOLD_BAND| summary with the intended primitive cell; for a defect-free supercell the number of incomplete sets must be zero. [Edit on GitHub]

Mentions: ⭐Band Structure Unfolding