-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slonczewski current direction #183
Comments
Hi @Siyuanq, thank you for letting us know about this issue. Could you please share the MIF file you created for OOMMF to help us investigate further? |
Hi @Siyuanq, thank you for your answer. Unfortunately, I cannot find/access your files. Could you please attach them to the comment on this issue? Besides, if I understand correctly, you did your simulations in OOMMF. What we would be interested in are the MIF files you generated so that we can make a comparison. |
file.zip |
Recently I find a difference in ubermag and oommf. The spin current direction is controlled by the reference vector, like mp = (1,0,0), but in oommf, if I change the sign of current density, e.g. from 1e12 to -1e12, the spin current direction will change to the opposite direction, which can be revealed that the direction of final magnetization changes. But in ubermag, no matter positive or negative current denstiy, the magnetization will only align parallel with mp. I don't if it is designed or it is a bug. But it confuses me and also brings a problem, that ubermag does not allow a space-variant mp (I am not sure about this but I made some trials and I failed) so I can not place desired current direction as a function of the space.
Below are the code I use.
The text was updated successfully, but these errors were encountered: