Skip to content

Commit

Permalink
update reports
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Oct 23, 2024
1 parent 2c9a373 commit 3c4ad96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions calphy/phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def __init__(self, calculation=None, simfolder=None, log_to_screen=False):

self.ferr = 0
self.fref = 0
self.feinstein = 0
self.fcm = 0
self.fideal = 0

self.w = 0
Expand Down Expand Up @@ -682,6 +684,8 @@ def submit_report(self, extra_dict=None):
report["results"]["free_energy"] = float(self.fe)
report["results"]["error"] = float(self.ferr)
report["results"]["reference_system"] = float(self.fref)
report["results"]["einstein_crystal"] = float(self.feinstein)
report["results"]["com_correction"] = float(self.fcm)
report["results"]["work"] = float(self.w)
report["results"]["pv"] = float(self.pv)
report["results"]["unit"] = "eV/atom"
Expand Down

0 comments on commit 3c4ad96

Please sign in to comment.