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

Hll 2 wave improvements non breaking #1561

Merged

Conversation

DanielDoehring
Copy link
Contributor

This tries to implement the non-breaking part of #1545 as suggested in #1545 (review) . As such, the MHD equations still bear the name min_max_speed_naive for the min_max_speed_einfeldt.

@ranocha ranocha added the enhancement New feature or request label Jul 12, 2023
Copy link
Member

@ranocha ranocha left a comment

Choose a reason for hiding this comment

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

Great, thanks a lot! Please find some comments below.

src/equations/numerical_fluxes.jl Outdated Show resolved Hide resolved
src/equations/numerical_fluxes.jl Outdated Show resolved Hide resolved
src/equations/numerical_fluxes.jl Outdated Show resolved Hide resolved
src/equations/numerical_fluxes.jl Outdated Show resolved Hide resolved
test/test_unit.jl Show resolved Hide resolved
src/equations/ideal_glm_mhd_1d.jl Outdated Show resolved Hide resolved
src/equations/ideal_glm_mhd_2d.jl Outdated Show resolved Hide resolved
src/equations/ideal_glm_mhd_3d.jl Outdated Show resolved Hide resolved
test/test_unit.jl Show resolved Hide resolved
@DanielDoehring
Copy link
Contributor Author

DanielDoehring commented Jul 12, 2023

And please resolve the conflicts

Done in 67c318c.

@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #1561 (1e8bef9) into main (42732db) will increase coverage by 14.24%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main    #1561       +/-   ##
===========================================
+ Coverage   81.94%   96.18%   +14.24%     
===========================================
  Files         370      370               
  Lines       31153    31426      +273     
===========================================
+ Hits        25526    30224     +4698     
+ Misses       5627     1202     -4425     
Flag Coverage Δ
unittests 96.18% <100.00%> (+14.24%) ⬆️

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

Impacted Files Coverage Δ
examples/dgmulti_2d/elixir_euler_bilinear.jl 100.00% <ø> (ø)
examples/dgmulti_2d/elixir_euler_curved.jl 100.00% <ø> (ø)
examples/dgmulti_2d/elixir_euler_weakform.jl 100.00% <ø> (ø)
examples/dgmulti_3d/elixir_euler_curved.jl 100.00% <ø> (ø)
examples/dgmulti_3d/elixir_euler_weakform.jl 100.00% <ø> (ø)
src/Trixi.jl 50.00% <ø> (+9.09%) ⬆️
src/equations/numerical_fluxes.jl 84.71% <ø> (ø)
src/equations/compressible_euler_1d.jl 97.29% <100.00%> (+5.83%) ⬆️
src/equations/compressible_euler_2d.jl 99.12% <100.00%> (+9.38%) ⬆️
src/equations/compressible_euler_3d.jl 97.05% <100.00%> (+18.16%) ⬆️
... and 6 more

... and 92 files with indirect coverage changes

Copy link
Member

@ranocha ranocha left a comment

Choose a reason for hiding this comment

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

Coverage decreased as you can see in the report of coveralls

image

You can click on it and find the files where this PR decreases coverage. For example, min_max_speed_naive is not tested for LinearizedEulerEquations2D. The shallow water files also show a reduced coverage. Could you please add some tests for these?

@DanielDoehring
Copy link
Contributor Author

DanielDoehring commented Jul 13, 2023

Coverage decreased as you can see in the report of coveralls

You can click on it and find the files where this PR decreases coverage. For example, min_max_speed_naive is not tested for LinearizedEulerEquations2D. The shallow water files also show a reduced coverage. Could you please add some tests for these?

Done, now everything is green :)

Copy link
Member

@ranocha ranocha left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@ranocha ranocha merged commit a191e39 into trixi-framework:main Jul 13, 2023
30 checks passed
@DanielDoehring DanielDoehring deleted the HLL_2_Wave_Improvements_NonBreaking branch July 14, 2023 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants