Skip to content

Add twin monoclinic anisotropy interaction - #23

Merged
ww1g11 merged 1 commit into
MagneticSimulation:masterfrom
yangshaohua201-creator:add-twin-monoclinic-anisotropy
Jun 4, 2026
Merged

Add twin monoclinic anisotropy interaction#23
ww1g11 merged 1 commit into
MagneticSimulation:masterfrom
yangshaohua201-creator:add-twin-monoclinic-anisotropy

Conversation

@yangshaohua201-creator

Copy link
Copy Markdown

This PR adds a spatially varying twin monoclinic anisotropy interaction for micromagnetic simulations.

The new interaction supports local monoclinic axes across twin domains and uses the energy density:

E = Kaa^2 + Kbb^2 + Kaaa^4 + Kbbb^4 + Kaba^2b^2 - Ku*u111^2

where a, b, and u111 are local crystallographic axes. An example script is included to demonstrate a two-domain twin configuration.

@ww1g11
ww1g11 merged commit 5518d1a into MagneticSimulation:master Jun 4, 2026
2 of 4 checks passed
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.

2 participants