Skip to content

Fix DMI Neumann boundary conditions for non-3D simulations#363

Merged
JonathanMaes merged 3 commits into
3.11from
bugfix/bulkdmi_Neumann_BC
Apr 3, 2025
Merged

Fix DMI Neumann boundary conditions for non-3D simulations#363
JonathanMaes merged 3 commits into
3.11from
bugfix/bulkdmi_Neumann_BC

Conversation

@ilateur

@ilateur ilateur commented Mar 26, 2025

Copy link
Copy Markdown
Contributor

This should fix issue #352. Calculation of the effective magnetic field of bulk DMI was skipped when there was no derivative to be taken in the z-direction, but the Neumann boundary conditions do not cancel out. Open BC can still be skipped, and for interfacial DMI this is not a problem.
I also added a test to confirm the expected symmetry.

@ilateur ilateur added the bug label Mar 26, 2025
@ilateur
ilateur requested a review from JonathanMaes March 26, 2025 13:32
@ilateur ilateur self-assigned this Mar 26, 2025
Comment thread test/dmibulksymm1D.mx3 Outdated
@JonathanMaes
JonathanMaes merged commit 7b5637b into 3.11 Apr 3, 2025
@JonathanMaes
JonathanMaes deleted the bugfix/bulkdmi_Neumann_BC branch April 3, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants