Commit f28469bb authored by Pardini, Lorenzo (lopa)'s avatar Pardini, Lorenzo (lopa)
Browse files

added conversion for eigenvalues

parent 3d35f1f3
Pipeline #6883 passed with stage
in 4 minutes and 7 seconds
...@@ -90,7 +90,7 @@ class ElkContext(object): ...@@ -90,7 +90,7 @@ class ElkContext(object):
else: else:
n, e, occ = s.split() n, e, occ = s.split()
eigvalVal[0][-1].append(int(n)) eigvalVal[0][-1].append(int(n))
eigvalVal[1][-1].append(float(e)) eigvalVal[1][-1].append(fromH(float(e)))
# print ("eigvalVal= ", eigvalVal) # print ("eigvalVal= ", eigvalVal)
backend.addArrayValues("eigenvalues_kpoints", np.asarray(eigvalKpoint)) backend.addArrayValues("eigenvalues_kpoints", np.asarray(eigvalKpoint))
backend.addArrayValues("eigenvalues_values", np.asarray(eigvalVal)) backend.addArrayValues("eigenvalues_values", np.asarray(eigvalVal))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment