Closed Chengcheng-Xiao closed 4 years ago
The UNKxxxxx.NC
file can now be written with non-collinear calculations.
Also, I've added a flag LUNK_FMTED
to the INCAR file to control the formate of the UNK file ( similar to wvfn_formatted
in pw2wannier90)
However, I'm not able to reproduce the exactly same result as the QE version. Specifically, for the "spin-up" spinor wavefunction (e.g. one of the doubly degenerated band, like WF=[1,0]) I'm seeing erratic behavior in the second spinor channel (using wannier_plot_spinor_mode = down
).
Not sure if this is expected. Need more investigation.
So, changing spin quantization axis and use projection only scheme gives me much more smooth plots (for both spinor components) and I think the erratic behavior of the z axis plot is just a natural artifact of ZERO WF (essentially we are plotting 0 WF which should in theory be zero).
This seems to be easier than the
.spn
file.So, do this first.
By the looks of it, we only need to halve the
CR
array and output it to twoWVFN
arrays and then print it out.