Skip to content
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

Closed
wants to merge 30 commits into from

Conversation

jsampaio
Copy link
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
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
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
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
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