Skip to content
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

Add KPM to README and update links #332

Merged
merged 8 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ Sunny is inspired by SpinW, especially regarding symmetry analysis and tradition
| -- | -- | -- | -- |
| Symmetry-guided modeling | ❌ | ✅ | ✅ |
| Interactive graphics | ❌ | ✅ | ✅ |
| [Incommensurate spiral order](https://arxiv.org/abs/1402.6069) | ❌ | ✅ | ✅ |
| Arbitrary couplings of quantum operators | ✅ | ❌ | ✅ |
| [Interaction renormalization corrections](https://arxiv.org/abs/2304.03874) | ❌ | ❌ | ✅ |
| [Multi-flavor spin wave theory](https://arxiv.org/abs/1307.7731) | ✅ | ❌ | ✅ |
| [Classical SU(_N_) spin dynamics](https://arxiv.org/abs/2209.01265) | ❌ | ❌ | ✅ |
| [Incommensurate spiral order](https://sunnysuite.github.io/Sunny.jl/stable/examples/spinw/SW15_Ba3NbFe3Si2O14.html) | ❌ | ✅ | ✅ |
| Arbitrary coupling of quantum operators | ✅ | ❌ | ✅ |
| [Interaction renormalization corrections](https://sunnysuite.github.io/Sunny.jl/stable/renormalization.html) | ❌ | ❌ | ✅ |
| [Multi-flavor spin wave theory](https://sunnysuite.github.io/Sunny.jl/stable/examples/03_LSWT_SU3_FeI2.html) | ✅ | ❌ | ✅ |
| [Linear-scaling spin wave theory](https://sunnysuite.github.io/Sunny.jl/stable/examples/09_Disorder_KPM.html) | ❌ | ❌ | ✅ |
| [Classical SU(_N_) spin dynamics](https://sunnysuite.github.io/Sunny.jl/stable/examples/04_GSD_FeI2.html) | ❌ | ❌ | ✅ |
| [Fast long-range dipole interactions](https://sunnysuite.github.io/Sunny.jl/stable/examples/07_Dipole_Dipole.html) | ❌ | ❌ | ✅ |
| Programming language | C++ | Matlab | [Julia](https://julialang.org/) |

Expand Down
18 changes: 9 additions & 9 deletions examples/09_Disorder_KPM.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# # 9. Disordered system with KPM
#
# This example uses the kernel polynomial method (KPM) to efficiently calculate
# the neutron scattering spectrum of a disordered triangular antiferromagnet.
# The model is inspired by YbMgGaO4, as studied in [Paddison et al, Nature
# Phys., **13**, 117–122 (2017)](https://doi.org/10.1038/nphys3971) and [Zhu et
# al, Phys. Rev. Lett. **119**, 157201
# (2017)](https://doi.org/10.1103/PhysRevLett.119.157201). Disordered occupancy
# of non-magnetic Mg/Ga sites can be modeled as a stochastic distribution of
# exchange constants and ``g``-factors. Including this disorder introduces
# broadening of the spin wave spectrum.
# This example uses the [kernel polynomial method](@ref SpinWaveTheoryKPM) to
# efficiently calculate the neutron scattering spectrum of a disordered
# triangular antiferromagnet. The model is inspired by YbMgGaO4, as studied in
# [Paddison et al, Nature Phys., **13**, 117–122
# (2017)](https://doi.org/10.1038/nphys3971) and [Zhu et al, Phys. Rev. Lett.
# **119**, 157201 (2017)](https://doi.org/10.1103/PhysRevLett.119.157201).
# Disordered occupancy of non-magnetic Mg/Ga sites can be modeled as a
# stochastic distribution of exchange constants and ``g``-factors. Including
# this disorder introduces broadening of the spin wave spectrum.

using Sunny, GLMakie

Expand Down
3 changes: 3 additions & 0 deletions examples/spinw_tutorials/SW15_Ba3NbFe3Si2O14.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# This is a Sunny port of [SpinW Tutorial
# 15](https://spinw.org/tutorials/15tutorial), originally authored by Sandor
# Toth. It calculates the linear spin wave theory spectrum of Ba₃NbFe₃Si₂O₁₄.
# The ground state is an incommensurate spiral, which can be directly studied
# using the functions [`minimize_spiral_energy!`](@ref) and
# [`SpinWaveTheorySpiral`](@ref).

# Load packages

Expand Down
Loading