mumax / 3

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

Feature/fudgeShift #316

Open jsampaio opened 1 year ago

jsampaio commented 1 year ago

A cleaned-up version of pull request #221.

This change introduces a new mode for the shift the problem window. In this new mode, the values of m in the introduced cells are copied from the cells at the border, instead of the values of ShiftMagL/R (current mode). This new mode is activated by setting FudgeShift = true (false by default).

When using auto-shifting procedures (e.g. ext_centerWall), it is still necessary to set the parameters ShiftMagL/R because they're used to determine the shift direction (as is the previous behaviour).

Modifications: