Skip to content

Feature/shift : copy the border cells when shifting M#221

Closed
jsampaio wants to merge 30 commits intomumax:masterfrom
jsampaio:feature/Shift
Closed

Feature/shift : copy the border cells when shifting M#221
jsampaio wants to merge 30 commits intomumax:masterfrom
jsampaio:feature/Shift

Conversation

@jsampaio
Copy link
Copy Markdown
Contributor

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).

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
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
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).
@godsic
Copy link
Copy Markdown
Contributor

godsic commented Jul 4, 2020

@jsampaio Could you please clean-up this pull request to only contain FudgeShift and provide unit tests?

@jsampaio
Copy link
Copy Markdown
Contributor Author

jsampaio commented Jul 4, 2020

@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...)

@godsic
Copy link
Copy Markdown
Contributor

godsic commented Jul 4, 2020

@jsampaio

Yes, you can mimic that test.

Yes, please make a fork of master, then apply only Feature/shift stuff and make a pull request again.

@jsampaio jsampaio mentioned this pull request Nov 7, 2022
@jsampaio
Copy link
Copy Markdown
Contributor Author

jsampaio commented Nov 7, 2022

This pull request is replaced by #316 (the same code, but in a clean branch).

@jsampaio jsampaio closed this Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants