-
Notifications
You must be signed in to change notification settings - Fork 7
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
Temperature support (updated) #81
Conversation
for more information, see https://pre-commit.ci
Added description of the changes
Add TimeTorque driver
timetorque driver
timetorque driver
for more information, see https://pre-commit.ci
Optimized the code
for more information, see https://pre-commit.ci
When doing simulations for dynamics, it's common to use in mumax3 RunWhile(MaxTorque > ). Tried adding the support for it. Naturally, you can add whatever condition inside the brackets for RunWhile, but I frankly have no idea how to implement it. The necessary translation of all ubermag syntax / structure / variables to mumax3 script is tremendous, and I doubt that is really needed. Probably it's better not to import this exact change to the master branch (as it include only MaxTorque support), but is better to write about it in the Docs. Another way is to be able to directly pass the conditions in the mumax3 syntax, like e.g.:
instead of (like it's right now in the commit): |
@SeregaKR Thank you for your contribution! We like the ideas you have suggested, would it be possible to split this into two pull requests, one for the temperature and one fore the torque? We are happy with the way you have added temperature so we would be keen to support this. We like the idea of adding support for |
Return to only temperatutre change
for more information, see https://pre-commit.ci
Separated the pull request as asked. This is now only for temperature |
@SeregaKR Thank you for your fast response! Please could you do a few more things prior to merging:
|
|
@SeregaKR That is great thank you, yes the only test currently should be that temperature is written correctly (and in the correct place to the mx3 file) |
I checked the mumax3 docs and it seems that there is no strict requirement where we should put the line with Temp. The most important point is to put it before simulation |
remove temperature from minimize and relax drivers
for more information, see https://pre-commit.ci
@SeregaKR we were looking to release shortly so I wanted to check the status of the PR. The code changes in the PR look good. I was just having a look for the corresponding changes in the change log and tests but I couldn't seem to spot them. Please could you point me in their direction and then we can release this! |
The only change for the temperature was in mumax3c/scripts/driver.py. I didn't make any changes in the tests, as I thought they were covered already by that one (test_noevolver_nodriver_finite_temperature). My own manual tests and consistent usage shows nothing amiss. What do you mean by changes in the changelog? Sorry, I'm not that familiar with GitHub. I found the pull request here which already mentions the temperature support: pull request 36. Do I need to change the file here? changelog.rst |
No problem at all! So the |
support for simulation at finite temperature
P.S. also added limited support for the simulation type, where it's going while certain conditions are met.
P.P.S. RunWhile moved to a separate pull request. Only temperature is left here