Skip to content

Commit

Permalink
Merge pull request #17 from rul048/patch-1
Browse files Browse the repository at this point in the history
Fixed the unit error in documentation of phonon.py
  • Loading branch information
shyuep authored Jan 27, 2024
2 parents 0384169 + 74e8f11 commit bbd67ff
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions matcalc/phonon.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,20 @@ def calc(self, structure: Structure) -> dict:
thermal_properties:
{
temperatures: list of temperatures in Kelvin,
free_energy: list of Helmholtz free energies at corresponding temperatures in eV,
entropy: list of entropies at corresponding temperatures in eV/K,
heat_capacity: list of heat capacities at constant volume at corresponding temperatures in eV/K^2,
free_energy: list of Helmholtz free energies at corresponding temperatures in kJ/mol,
entropy: list of entropies at corresponding temperatures in J/K/mol,
heat_capacity: list of heat capacities at constant volume at corresponding temperatures in J/K/mol,
The units are originally documented in phonopy.
See phonopy.Phonopy.run_thermal_properties()
(https://github.com/phonopy/phonopy/blob/develop/phonopy/api_phonopy.py#L2591)
-> phonopy.phonon.thermal_properties.ThermalProperties.run()
(https://github.com/phonopy/phonopy/blob/develop/phonopy/phonon/thermal_properties.py#L498)
-> phonopy.phonon.thermal_properties.ThermalPropertiesBase.run_free_energy()
(https://github.com/phonopy/phonopy/blob/develop/phonopy/phonon/thermal_properties.py#L217)
phonopy.phonon.thermal_properties.ThermalPropertiesBase.run_entropy()
(https://github.com/phonopy/phonopy/blob/develop/phonopy/phonon/thermal_properties.py#L233)
phonopy.phonon.thermal_properties.ThermalPropertiesBase.run_heat_capacity()
(https://github.com/phonopy/phonopy/blob/develop/phonopy/phonon/thermal_properties.py#L225)
}
}
"""
Expand Down

0 comments on commit bbd67ff

Please sign in to comment.