Skip to content

Commit

Permalink
pass element_num to sparam in hti_liq (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi-FanLi authored Nov 10, 2024
1 parent 97e2877 commit a660e82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dpti/hti_liq.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,9 @@ def _make_tasks(iter_name, jdata, step, if_meam=False, meam_model=None):
sparam["sigma_0_1"] = sparam["sigma_oh"]
sparam["sigma_1_1"] = sparam["sigma_hh"]

# element_num=sparam.get('element_num', 1)
element_num = len(mass_map)
sparam["element_num"] = element_num

sigma_key_index = filter(
lambda t: t[0] <= t[1],
((i, j) for i in range(element_num) for j in range(element_num)),
Expand Down

0 comments on commit a660e82

Please sign in to comment.