mumax / 3

GPU-accelerated micromagnetic simulator
Other
447 stars 150 forks source link

Fix shifted quantity for shifts in more than one direction #283

Open JeroenMulkers opened 3 years ago

JeroenMulkers commented 3 years ago

The Shifted quantity could not be used to shift quantities over more than one direction at once. This PR fixes this issue.

godsic commented 3 years ago

@JeroenMulkers Are unit tests possible for this one?

JeroenMulkers commented 3 years ago

@godsic , I wrote a test in GO because it was too cumbersome to write a decent test in a mumax3 input script.

The test fails without the bug fix from this PR.