Skip to content
Snippets Groups Projects
Commit abf9f966 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

fix integrated dos value

parent 25b4bf58
No related branches found
No related tags found
No related merge requests found
......@@ -806,9 +806,10 @@ class VasprunContext(object):
# states/eV/cell. This means that the volume
# dependence has been introduced by multiplying
# by the cell volume
# the integrated dos value is the number of electrons until that energy level
# and thus not directly energy dependent anymore
joule_in_ev = convert_unit(1, "eV", "J")
dosV = dosV / joule_in_ev
dosI = dosI / joule_in_ev
if self.vbTopE:
eRef = max(self.vbTopE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment