Overview
ThePHONON task computes harmonic phonons by:
- Building a
Phonopyobject with supercell displacements. - Evaluating forces on each displaced supercell using the supplied calculator.
- Producing force constants, mesh DOS, thermal properties, and an automatic band structure.
PHONON with a TASK_SOURCE + INPUTS cache policy.
Function signature
Parameters
Primitive (or conventional) unit cell for which phonons are computed.
ASE-compatible calculator used to evaluate forces on displaced supercells.
Supercell transformation matrix passed directly to
Phonopy. When None and min_lengths is also None, Phonopy uses the primitive cell as the supercell. When None but min_lengths is set, the matrix is computed automatically.Minimum supercell dimension(s) in Å. When provided,
supercell_matrix is set to diag(ceil(min_lengths / cell.lengths())). Ignored if supercell_matrix is given explicitly.Symmetry precision in Å passed to Phonopy for space-group detection.
Atomic displacement distance in Å used to generate finite-difference supercell configurations (
Phonopy.generate_displacements).Additional keyword arguments forwarded to the
Phonopy constructor (e.g., is_symmetry, factor, primitive_matrix).When
True, symmetrizes force constants both generally and by space group after they are produced (phonon.symmetrize_force_constants() and phonon.symmetrize_force_constants_by_space_group()).Minimum temperature (K) for the thermal property calculation.
Maximum temperature (K) for the thermal property calculation.
Temperature step size (K) between
t_min and t_max.Directory path for writing output files. When set, the following files are saved:
<outdir>/band.yaml— band structure data.<outdir>/phonopy.yaml— Phonopy object including force constants. WhenNone, no files are written.
Return value
A fully populated
Phonopy object with force constants, mesh DOS, thermal properties, and band structure computed. Use the standard Phonopy API to extract further quantities: