-
Notifications
You must be signed in to change notification settings - Fork 115
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
Fix calc ch #353
Fix calc ch #353
Conversation
…s logic in the stepsize callback
…fail need updated
Feel free to request a review once you're finished with the implementation. GitHub notified me about this new PR. Just a minor comment: If you write something like |
…re glm_scale was unused
Codecov Report
@@ Coverage Diff @@
## master #353 +/- ##
==========================================
- Coverage 90.58% 90.49% -0.09%
==========================================
Files 76 78 +2
Lines 8881 8903 +22
==========================================
+ Hits 8045 8057 +12
- Misses 836 846 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this!
- You changed the algorithm used to compute
c_h
. Just to be sure: That was done on purpose and the new way is good, isn't it? - The same fix should be implemented in 3D.
Yes, now
Indeed, that is next... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and can be merged after minor revisions indicated below. Thanks for working on this, @andrewwinters5000!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are just two minor changes that I think would be helpful to include. Also, I think we should follow @ranocha's suggestion for a modified MHD constructor (for 3D as well of course): https://github.com/trixi-framework/Trixi.jl/pull/353/files#r528295385
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - feel free to merge once all test pass!
Also, congratulations: You are now the second person who ever created a new callback from scratch, which makes you an expert in my eyes ;-)
Tack så mycket! ;) |
Resolves #257