Skip to content

Commit

Permalink
fix bug in pair style anems
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Jan 19, 2024
1 parent 5514178 commit e704d83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions calphy/routines.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,11 @@ def routine_composition_scaling(job):
job.logger.info("Update pair coefficients")
job.logger.info(f"pair coeff 1: {job.calc.pair_coeff[0]}")
job.logger.info(f"pair coeff 2: {job.calc.pair_coeff[1]}")
job.calc._pair_style_names.append(job.calc._pair_style_names[0])
job.logger.info("Update pair styles")
job.logger.info(f"pair style 1: {job.calc._pair_style_names[0]}")
job.logger.info(f"pair style 2: {job.calc._pair_style_names[1]}")

backup_element = job.calc.element.copy()
job.calc.element = comp.pair_list_old
#job.calc._ghost_element_count = len(comp.new_atomtype) - len()
Expand Down

0 comments on commit e704d83

Please sign in to comment.