Skip to content

add the strayfield kernel to strayfield in python#151

Open
DiegoDeGusem wants to merge 3 commits intodevfrom
strayfieldkernel-access
Open

add the strayfield kernel to strayfield in python#151
DiegoDeGusem wants to merge 3 commits intodevfrom
strayfieldkernel-access

Conversation

@DiegoDeGusem
Copy link
Copy Markdown
Contributor

This PR will allow the user to access the Field generated by StrayFieldKernel. This means that we don't have to use this anymore:

from _mumaxpluscpp import _demag_kernel

_demag_kernel(magnet._impl)

test_demag.py has also been changed such that it uses this new feature.

@DiegoDeGusem DiegoDeGusem requested a review from lamoreel April 30, 2026 14:43
@DiegoDeGusem DiegoDeGusem self-assigned this Apr 30, 2026
@DiegoDeGusem DiegoDeGusem added the enhancement New feature or request label Apr 30, 2026
Comment thread src/physics/strayfield.hpp Outdated
Comment thread test/test_demag.py Outdated
@DiegoDeGusem DiegoDeGusem requested a review from ilateur May 5, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants