3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 04:43:42 +01:00

Update bin/init_dmftpr

Co-authored-by: Hermann Schnait <42941106+hschnait@users.noreply.github.com>
This commit is contained in:
Harry LaBollita 2021-11-03 11:28:28 -07:00 committed by Alexander Hampel
parent ab7d2f5151
commit 0c4c63f917

View File

@ -65,15 +65,13 @@ def write_indmftpr():
for p in non_corr: projectors += array(orbitals[p]) for p in non_corr: projectors += array(orbitals[p])
out.write(" ".join(list(map(str, projectors)))+"\n") out.write(" ".join(list(map(str, projectors)))+"\n")
break break
to_write = "0 0 0 0\n"
if proj == "d": if proj == "d":
irrep=input("Split this orbital into it's irreps? (t2g/eg/n)\n") irrep=input("Split this orbital into it's irreps? (t2g/eg/n)\n")
to_write=""
if irrep == "t2g": if irrep == "t2g":
to_write += "0 0 2 0\n01\n" to_write = "0 0 2 0\n01\n"
elif irrep == "eg": elif irrep == "eg":
to_write += "0 0 2 0\n10\n" to_write = "0 0 2 0\n10\n"
else:
to_write += "0 0 0 0\n"
soc=input("Do you want to include soc? (y/n)\n") soc=input("Do you want to include soc? (y/n)\n")
if soc == "y": if soc == "y":