I want to use pp.x for calculation of work function for a semiconductor slab,
I have calculated the difference between the fermi energy and vacuum level using the plot_num=(1 and 11), for investigate the effect of including xc term.
Including xc term give rise to significant ( about 1 eV) decrease in total potential in vacuum region.
which one is physically meaningful?--considering xc potential or not?-
furthermore, the fermi energy in output is strongly sensitive to degauss value?
I think if we set occupation~fixed--without any smearing-- we should consider the VB edge as the Fermi energy at 0K.