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

Rewrite of Spiral SWT #304

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Rewrite of Spiral SWT #304

wants to merge 9 commits into from

Conversation

kbarros
Copy link
Member

@kbarros kbarros commented Aug 27, 2024

In this new version, exchange is treated entirely in Fourier space, via construction of $J(q)$.

The important new feature is that the propagation wavevector $k$ is categorized into one of three "special" cases via the new function spiral_propagation_case. The treatment of Fourier-space interactions $J(q)$ will vary according to case. This is required as a correctness fix for FM and AFM structures (interpreted as generalized spirals), which involve $q$ with integer and half-integer components, respectively.

After some small cleanup, this is probably safe to merge. All tests pass, including new ones included in the PR. Also, performance seems roughly unchanged between new and old codes.

If this PR solves a high-priority problem for you, please let me know, and I'll be happy to focus on cleaning it up and merging.

@kbarros
Copy link
Member Author

kbarros commented Oct 16, 2024

Tests.zip

Two tests from Alin: (1) Canted AFM and (2) DM with single-ion anisotropy. There is no test on single-ion anisotropy because any small amount deforms the spiral phase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant