abacus-develop
abacus-develop copied to clipboard
How to switch the direction of the quantization axis of spin from z axis to x or y axis
Details
I have a trivial question. When calculating two-dimensional materials, the normal vector should not set to the z axis to improve performance. When setting the spin, the quantization axis defaults to the z direction. But in most cases, in 2D material, the quantization axis is oriented to the normal vector of the 2D materials. I would like to ask, how to set the default quantization axis to the x or y axes?
Have you read FAQ on the online manual http://abacus.deepmodeling.com/en/latest/community/faq.html
- [X] Yes, I have read the FAQ part on online manual.
Task list for Issue attackers (only for developers)
- [ ] Understand the problem or question described by the user.
- [ ] Check if the issue is a known problem or has been addressed in the documentation.
- [ ] Test the issue or problem on a similar system or environment, if possible.
- [ ] Identify the root cause or provide clarification on the user's question.
- [ ] Provide a step-by-step guide, including any necessary resources, to resolve the issue or answer the question.
- [ ] If the issue is related to documentation, update the documentation to prevent future confusion (optional).
- [ ] If the issue is related to code, consider implementing a fix or improvement (optional).
- [ ] Review and incorporate any relevant feedback from users or developers.
- [ ] Ensure the user's issue is resolved or their question is answered and close the ticket.
In my practice in Fe5C2 (510) surface, this problem does NOT EXIST, the TMAG and AMAG are both 143 - 145 and 154 - 156 no matter I set normal vector to y-axis or z-axis. I am using 405 function of ATOMKIT, which can switch the x/y/z lattice vector in cell. and when normal vector is set along y-vector, the MPI parallel function will be accelerated.
In my opinion, the nspin=2
does NOT mean that the spin axis is fixed along z-direction, but means that spin-up and spin-down is collinear, and the freedom of spin is 2.
That's quite reasonable. The distinct spin axis orientations correspond to different state bases, which will not influence the result(in most cases ? I am not sure.).
However, I'm curious about the impact when applying a magnetic field. It seems that the Hamiltonian might become off-diagonal if the spin axis is not parallel with magnetic field, refers to page 175 of Doctor Warren's thesis. Could this off-diagonal feature potentially influence the performance or the results of the calculations?
I apologize for the numerous questions; I'm relatively new to DFT, and I appreciate your patience.
@mohanchen Any comments ?
I may not be familiar with this isseu, @dyzheng do you have comments?