-
Notifications
You must be signed in to change notification settings - Fork 17
Add tests and implement additional CFL conditions for multiphase #1024
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1024 +/- ##
==========================================
+ Coverage 65.70% 66.18% +0.47%
==========================================
Files 121 123 +2
Lines 8797 8847 +50
==========================================
+ Hits 5780 5855 +75
+ Misses 3017 2992 -25
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| dt_interfaces = Inf | ||
| nsystems = length(systems) | ||
| if nsystems > 1 | ||
| for i in 1:(nsystems - 1) | ||
| system = systems[i] | ||
| for j in (i + 1):nsystems | ||
| neighbor_system = systems[j] | ||
| dt_interfaces = min(dt_interfaces, | ||
| calculate_interface_dt(v_ode, u_ode, cfl_number, | ||
| system, neighbor_system, semi)) | ||
| end | ||
| end | ||
| end |
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.
Why is this happening in every simulation now, even if no multiphase is used? There must be a better way to add this specifically in simulations where it's required, which are currently the minority. Maybe as a kwarg to the callback?
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.
I narrowed the condition
No description provided.