SpinW

version 3.1.2 (16.5 MB) by Simon W
SpinW Matlab library for spin wave calculation

331 Downloads

Updated 5 May 2022

From GitHub

View License on GitHub

Twitter Follow Old Github All ReleasesGithub All Releases

SpinW (spin-double-u) is a Matlab library that can optimize magnetic structures using mean field theory and calculate spin wave dispersion and spin-spin correlation function for complex crystal and magnetic structures. For details check http://www.spinw.org

Current Status

We are currently in a period of change. SpinW will be moving to python/C++ (with a Matlab interface). I'm sure you can appreciate that this will be a lot of work as all of the code will be completely re-written and updated. In this period the Matlab version will be stabilized at v3.1.1 with bug fixes and reviewed external pull requests. More details of the new version will follow. For Q&A we are testing GitHub Discussions.

Documentation

  • experimental and under construction, the address can change in the future
  • documentation of the master branch
  • use swdoc/swhelp instead of the Matlab built-in doc/help functions to get help on SpinW
  • can be also accessed from the browser: https://spinw.github.io/spinwdoc/

Build Status

We are currently testing on Centos 7.3, macOS and Windows using MATLAB R2018b. It should be noted that MATLAB symbolic calculation changed post R2018a and as such symbolic results may be differ with a relative tolerance of < 0.03 %.

Testing can be pulled from the testing repository and run with the runspinwFunctionalityTests command from the Testing directory.

Cite As

Simon W (2022). SpinW (https://github.com/SpinW/spinw/releases/tag/v3.1.2), GitHub. Retrieved .

Tóth, Sándor, and Simon Ward. SpinW/Spinw: SpinW 3.1. Zenodo, 2019, doi:10.5281/zenodo.2651100.

View more styles
MATLAB Release Compatibility
Created with R2019a
Compatible with R2015b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

dev

dev/@spinw

docs/docgenerator

external

external/chol_omp

external/colormap

external/eig_omp

external/mtimesx

external/rdir

external/yaml

swfiles

swfiles/+ndbase

swfiles/+swfunc

swfiles/+swplot

swfiles/+swsym

swfiles/@cif

swfiles/@spinw

swfiles/@spinw/private

swfiles/@swpref

swfiles/@swpref/private

swfiles/usefull

tutorials/help

tutorials/publish

tutorials/tutorial

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.