-
Notifications
You must be signed in to change notification settings - Fork 155
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
Relax() stopping criterion #146
Comments
improved relaxation resilience when user-defined threshold is used
Although the points by @jsampaio are valid in principle, they are nearly impossible to do well in practice. The reason is that E_total and maxtorque are simply too noisy. The current implementation, although not perfect, is a least robust against noise and yields the correct results when compared to OOMMF, for a wide range of material parameters and time scales. If desired, |
The relax() stopping criterion seems wrong to me. The current relax() procedure is:
There are some issues that seem wrong to me:
I suggest that the maximum torque be taken instead of the average torque, and that relax() stop when maxTorque reaches a user-definable threshold. I'm not very familiar with the code, but something like changing lines 62-76 of relax.go by:
ed: I've written the code implementing these changes in pull request #148 .
The text was updated successfully, but these errors were encountered: