A solver to solve the micromagnetic standard problem 4
https://www.ctcms.nist.gov/~rdm/mumag.org.html
Replicates the standard problem 4 in 2D std_problem4_torch.ipynb
Replicates the standard problem 4 in 3D std_problem4_torch_3D_Solver.ipynb
Replicates the standard problem 4 in 3D but the thickness is doubled std_problem4_torch_3D_Solver_Double_Thickness.ipynb
Note: Use the first notebook to build a 2D solver and the third notebook to build a 3D solver. The second notebook is just a 3D solver for a 2D problem.
It is recommended to run the code in Google Colab. The notebooks are already configured to run in Google Colab. All notebooks can be run on Google Colab for free using a GPU for less than 15 minutes.
Zhu, Ru. "Accelerate micromagnetic simulations with GPU programming in MATLAB." arXiv preprint arXiv:1501.07293 (2015).
https://arxiv.org/ftp/arxiv/papers/1501/1501.07293.pdf
https://github.com/cygnusc/mumag.matlab/blob/master/stdprob4aGPU.m
to Python and Pytorch
- Implement Slonczewski spin transfer torque and Zhang-Li torque
- Translate the code to SYCL using DPC++