Consultation on the zero filed splitting(ZFS) calculation and LDMATRIX tag
Dear VASP developers,
Hello, I frequently perform calculations to obtain zero-field splitting (ZFS) matrices, previously using a custom program developed by our research group that processes VASP outputs to compute the ZFS matrices. Recently, I noticed on a GitHub discussion page that VASP seems to have an internal feature for calculating ZFS matrices(https://github.com/alejandrogallo/dmatrix/issues/1), marked by the tag LDMATRIX. I tried searching for this tag within the VASP source files and eventually found it in src/dmatrix.F. Although I am not familiar with Fortran, I have a general understanding of how ZFS calculations are implemented, and this file appears to compute the ZFS matrices while also accounting for PAW corrections.
However, it is quite strange that there is no mention of LDMATRIX or related information on ZFS matrices in the VASP wiki. I have also been unable to find any further documentation on this tag beyond the GitHub page mentioned earlier. Despite this, I decided to test LDMATRIX to see if it could produce accurate ZFS matrices.
For testing, I selected systems that have been widely studied: NV centers in diamond and the hh and kk types of NV defects in 4H-SiC. Unfortunately, the test results have been disappointing. There is a notable deviation from both experimental values and previous calculations. For example, for NV centers in diamond, the experimental D value is around 2.8–2.9 GHz, with previous literature (also using PAW methods) confirming values within this range. However, VASP outputs around 3.6 GHz, significantly higher than expected. Similarly, for NV centers in 4H-SiC, both experiments and other calculations suggest a D value around 1.4 GHz, while VASP calculates approximately 1.1 GHz, which is lower than expected.
Additionally, all results mentioned above were obtained with symmetry enabled (ISYM=2). In this setting, VASP outputs a ZFS matrix that respects the system's symmetry. However, with the same structure but ISYM=0, the resulting ZFS matrix differs from the one obtained with ISYM=2 and lacks the expected symmetry. In theory, physical quantities should remain consistent when structural and precision parameters are unchanged.
Given these observations and the lack of ZFS information in the VASP wiki, could there be limitations in the current implementation of this feature, which may impact its practical use? Or could there be other factors affecting the results?
I have attached the input files used for my ZFS calculations with VASP. The zero-field splitting matrix for spin-spin interactions can be found using grep MHz OUTCAR.
Thank you very much for your assistance.