Skip to content

Conversation

@svchb
Copy link
Collaborator

@svchb svchb commented Dec 15, 2025

No description provided.

@svchb svchb self-assigned this Dec 15, 2025
@svchb svchb added enhancement New feature or request testing Improvements or additions to tests labels Dec 15, 2025
@codecov
Copy link

codecov bot commented Dec 15, 2025

Codecov Report

❌ Patch coverage is 92.15686% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.18%. Comparing base (b0d772b) to head (b80eb2a).

Files with missing lines Patch % Lines
src/general/semidiscretization.jl 85.71% 2 Missing ⚠️
test/general/semidiscretization.jl 60.00% 2 Missing ⚠️
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     
Flag Coverage Δ
unit 66.18% <92.15%> (+0.47%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@svchb svchb changed the title Add tests and implement additional CFL numbers for multiphase Add tests and implement additional CFL conditions for multiphase Dec 15, 2025
Comment on lines 480 to 492
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
Copy link
Member

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I narrowed the condition

@svchb svchb requested a review from efaulhaber January 19, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request testing Improvements or additions to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants