ubermag / micromagneticmodel

Python-based domain-specific language for computational magnetism.
http://ubermag.github.io
BSD 3-Clause "New" or "Revised" License
10 stars 8 forks source link

Updated Slonczewski latex eq. #55

Closed fgr1986 closed 2 years ago

fgr1986 commented 2 years ago

Following https://github.com/ubermag/help/issues/215#issuecomment-1195745223 Updates the latex documentation to follow https://math.nist.gov/oommf/doc/userguide20a2/userguide/Standard_Oxs_Ext_Child_Clas.html#SX

swapneelap commented 2 years ago

Hello @fgr1986, Thank you for the PR and sorry for the late reply. Based on the OOMMF docs, when I transform the implicit LLG to explicit LLG, I am getting the following expression for the Slonczewski term: $- \gamma \beta \frac{\epsilon + \alpha \epsilon'}{1 + \alpha^2}(\mathbf{m} \times (\mathbf{m} \times \mathbf{m{\text{p}}})) - \gamma \beta \frac{\epsilon' - \alpha \epsilon}{1 + \alpha^2}(\mathbf{m} \times \mathbf{m{\text{p}}})$ This is unfortunately quite different for the one on the website. Will you be able to update the LaTeX representation accordingly?

fgr1986 commented 2 years ago

Hello @fgr1986, Thank you for the PR and sorry for the late reply. Based on the OOMMF docs, when I transform the implicit LLG to explicit LLG, I am getting the following expression for the Slonczewski term: −γβϵ+αϵ′1+α2(m×(m×mp))−γβϵ′−αϵ1+α2(m×mp) This is unfortunately quite different for the one on the website. Will you be able to update the LaTeX representation accordingly?

Yes, indeed, I had not reviewed the sign on the current eq on the docs, only the magnitudes. Will change it, thanks for reviewing.