Giter Club home page Giter Club logo

microllg's Introduction

microLLG

The program simulates evolution of the sublattice magnetization vector in ferromagnets or antiferromagnets on a square lattice by solving the Landau-Lifshitz-Gilbert equation in presence of spin-transfer torques (STT, homogeneous current distribution along x is implemented for now). Stationary solutions in absence of STT, such as skyrmions and domain walls, are found by starting from a seed solution and evolving the time-dependent system in presence of the Gilbert damping until the stationary state is reached.

At the moment the code is not well documented and lacks proper commentaries in the code.

Examples:

Alt text

Deformation of a skyrmion lattice in presence of linearly polarized off-resonant pumping in Ref. D. Yudin, D. R. Gulevich, M. Titov, "Light-induced anisotropic skyrmion and stripe phases in Rashba ferromagnet", Phys. Rev. Lett., in press (2017). arXiv:1705.02261.

Alt text

Test of a model of notch structure similar to the one studied in Ref. J. Iwasaki, M. Mochizuki and N. Nagaosa, "Current-induced skyrmion dynamics in constricted geometries", Nan. Nanotech. 8, 743 (2013).

Basic usage:

Compile the C library (produces the dynamic library "libsky.so"):

$ make

Run iPython interactive interface:

$ ipython

Run the command in iPython

[1] run sky.py

to execute the simulation with the Python code sky.py linked to the compiled C library "libsky.so",

[2] run -i display.py

to display the last frame, or,

[3] run -i anim.py

to animate the simulation.

microllg's People

Contributors

drgulevich avatar

Stargazers

Felipe Rocha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.