Skip to content

Commit

Permalink
Phonons fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
knc6 committed Dec 2, 2024
1 parent 40c22a2 commit 3a3987e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions alignn/ff/ff.py
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,7 @@ def phonons(
on_relaxed_struct=False,
force_mult_natoms=False,
stress_wt=0.1,
force_multiplier=1,
dim=[2, 2, 2],
freq_conversion_factor=33.3566830, # ThztoCm-1
phonopy_bands_figname="phonopy_bands.png",
Expand All @@ -1197,6 +1198,7 @@ def phonons(
force_mult_natoms=force_mult_natoms,
stress_wt=stress_wt,
model_filename=model_filename,
force_multiplier=force_multiplier,
)

from phonopy import Phonopy
Expand Down Expand Up @@ -1331,8 +1333,8 @@ def phonons3(
on_relaxed_struct=False,
dim=[2, 2, 2],
distance=0.2,
stress_wt=-4800,
force_multiplier=2,
stress_wt=0.1,
force_multiplier=1,
):
"""Make Phonon3 calculation setup."""
from phono3py import Phono3py
Expand Down

0 comments on commit 3a3987e

Please sign in to comment.