build_dynmat

atomate2.common.jobs.anharmonicity.build_dynmat(force_constants, structure)[source]

Build the dynamical matrix.

Parameters:
  • force_constants (ForceConstants) – Force constants calculated by Phonopy

  • structure (Structure) – Structure as a Pymatgen Structure object

Returns:

The dynamical matrix

Return type:

np.ndarray