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

checking the system for dynamics and energy presence #79

Merged
merged 11 commits into from
Mar 4, 2024
Merged

Conversation

kzqureshi
Copy link
Contributor

Check for the system's energy and system's dynamic is added.

@kzqureshi
Copy link
Contributor Author

  • Test for py checks

@codecov-commenter
Copy link

codecov-commenter commented Jan 23, 2024

Codecov Report

Attention: Patch coverage is 23.07692% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 91.36%. Comparing base (97e27a0) to head (dec75ec).

❗ Current head dec75ec differs from pull request most recent head 05b56b6. Consider uploading reports for the commit 05b56b6 to get more accurate results

Files Patch % Lines
mumax3c/drivers/relaxdriver.py 20.00% 4 Missing ⚠️
mumax3c/drivers/timedriver.py 20.00% 4 Missing ⚠️
mumax3c/drivers/mindriver.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
- Coverage   92.78%   91.36%   -1.43%     
==========================================
  Files          22       22              
  Lines         624      637      +13     
==========================================
+ Hits          579      582       +3     
- Misses         45       55      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kzqureshi
Copy link
Contributor Author

Changes from ubermag/micromagnetictests#47 required for proper test for the relaxdriver.

Mumax documentation is not clear about setting alpha, it is not needed
or harmful :

"Relax() tries to evolve the magnetization as closely as possible to the minimum energy state. This function assumes all excitations have been turned off (temperature, electrical current, time-dependent magnetic fields). During relax precession is disabled and the time t does not increase. There is no need to set high damping."
Damping term not required for RelaxDriver
mumax3c/drivers/mindriver.py Outdated Show resolved Hide resolved
mumax3c/drivers/relaxdriver.py Outdated Show resolved Hide resolved
mumax3c/drivers/relaxdriver.py Outdated Show resolved Hide resolved
mumax3c/drivers/timedriver.py Outdated Show resolved Hide resolved
mumax3c/drivers/timedriver.py Outdated Show resolved Hide resolved
@samjrholt samjrholt self-requested a review March 4, 2024 14:57
@samjrholt samjrholt merged commit 3fdd65c into master Mar 4, 2024
2 checks passed
@samjrholt samjrholt deleted the check_system branch March 4, 2024 14:57
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.

4 participants