-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/shift : copy the border cells when shifting M #221
Conversation
updating this branch to latest mumax/3
update my fork to match the mumax git
changing stopping criterion
Changed to keep previous relax() behaviour by default. When RelaxTorqueThreshold < 0, relax() will stop when the average torque rises (previous behaviour). The default value for RelaxTorqueThreshold is now -1.
default behaviour is now exactly the previous one.
adding ext_centerWallInRegion(R,c). Works like ext_centerWall but for one region alone (useful for SAFs, eg)
resetting my fork to mumax's
synchronising my fork
server page: added collapsible job lists
updating my fork
updating fork
mumax-server preserves last opened job list opened
updating my fork to match mumax3
add loupe to see details in the image on mumax result page
bug in the update image
reset my fork to mumax/3
Adds a new shift mode, that copies the values at the border cells when shifting the magnetisation instead of using the values stored in ShiftMagL/R. Modified functions: engine.Shift new functions: cuda.ShiftFudgeX, cuda.ShiftFudgeY (and related .cu, .ptx files).
Adds a new shift mode, that copies the values at the border cells when shifting the magnetisation instead of using the values stored in ShiftMagL/R. Modified functions: engine.Shift new functions: cuda.ShiftFudgeX, cuda.ShiftFudgeY (and related .cu, .ptx files).
Adds a new shift mode, that copies the values at the border cells when shifting the magnetisation instead of using the values stored in ShiftMagL/R. Modified functions: engine.Shift new functions: cuda.ShiftFudgeX, cuda.ShiftFudgeY (and related .cu, .ptx files).
@jsampaio Could you please clean-up this pull request to only contain |
@godsic : it's been a while since I proposed a change to the code, so I have to see how that is done... A unit test is a script that tests if the function is still working, like e.g. "test/centerwall.mx3" ? To propose a cleaned-up version, should I make a branch of the current mumax base on the mumax git? Every time I did a new feature on a branch of my own fork, it gets mixed up with all the other changes (like now...) |
Yes, you can mimic that test. Yes, please make a fork of master, then apply only |
This pull request is replaced by #316 (the same code, but in a clean branch). |
this change introduces a new option for the shift. Instead of filling the new cells introduced by shift with the values of ShiftMagL and ShiftMagR, it is now possible to use the current values at the border by setting
FudgeShift = true
.It is still needed to set
ShiftMagL
/R
because they're used to determine the shift direction (as is the previous behaviour).