Variable $NumDOS in doslplot.pl
Posted: Mon Oct 14, 2019 10:28 am
Dear all,
I'm quite new to these tools and am confused by the gnuplot script created by doslplot.pl:
I have a system with 4 atoms; when I plot a single atom with doslplot.pl d 1,
the gnuplot-file contains a line
"DOS1" u 1:(($10-$11+$12-$13+$14-$15+$16-$17+$18-$19)*5)
I understand (I hope), that there are 5 terms for the 5 d-orbitals with spin up and five with spin down.
However, I do not understand the factor of 5. From the script, this is the variable $NumDOS; but the way this is created seems to count DOS0 as well, so it is always 1 more than the number of atoms.
Is this intentional and if so, why?
Thanks,
Martin
I'm quite new to these tools and am confused by the gnuplot script created by doslplot.pl:
I have a system with 4 atoms; when I plot a single atom with doslplot.pl d 1,
the gnuplot-file contains a line
"DOS1" u 1:(($10-$11+$12-$13+$14-$15+$16-$17+$18-$19)*5)
I understand (I hope), that there are 5 terms for the 5 d-orbitals with spin up and five with spin down.
However, I do not understand the factor of 5. From the script, this is the variable $NumDOS; but the way this is created seems to count DOS0 as well, so it is always 1 more than the number of atoms.
Is this intentional and if so, why?
Thanks,
Martin