Skip to content

Commit

Permalink
Actually pick the free energies in case of Vasp>5
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrv committed Dec 18, 2023
1 parent 0abf7b8 commit 0770b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_atomistics/vasp/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2092,7 +2092,7 @@ def collect(self, directory=os.getcwd(), sorted_indices=None):
else:
# total energies refers here to the total energy of the electronic system, not the total system of
# electrons plus (potentially) moving ions; hence this is the energy_pot
log_dict["energy_pot"] = self.vp_new.vasprun_dict["total_energies"]
log_dict["energy_pot"] = self.vp_new.vasprun_dict["total_fr_energies"]
if "kinetic_energies" in self.vp_new.vasprun_dict.keys():
log_dict["energy_tot"] = (
log_dict["energy_pot"]
Expand Down

0 comments on commit 0770b6a

Please sign in to comment.