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

Fix type stability and LMARS structure #64

Merged
merged 12 commits into from
Jan 29, 2025

Conversation

MarcoArtiano
Copy link
Collaborator

See Exact floating-point numbers .

This PR also changes the structure of the LMARS flux, by calling the same struct used in Trixi.jl.

Copy link

codecov bot commented Jan 26, 2025

Codecov Report

Attention: Patch coverage is 89.58333% with 5 lines in your changes missing coverage. Please review.

Project coverage is 89.45%. Comparing base (1c05c56) to head (035bad3).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/equations/compressible_moist_euler_2d_lucas.jl 88.88% 3 Missing ⚠️
src/equations/shallow_water_3d.jl 90.47% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
- Coverage   89.45%   89.45%   -0.01%     
==========================================
  Files          20       20              
  Lines        1802     1801       -1     
==========================================
- Hits         1612     1611       -1     
  Misses        190      190              

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

src/equations/compressible_moist_euler_2d_lucas.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d_lucas.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d_lucas.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d_lucas.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d_lucas.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d_lucas.jl Outdated Show resolved Hide resolved
@MarcoArtiano
Copy link
Collaborator Author

MarcoArtiano commented Jan 26, 2025

Thank you very much, @sloede! I’ll look for the missing ones as soon as I can.

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.

Just a minor suggestion - otherwise, this looks good to me 👍

src/equations/compressible_moist_euler_2d_lucas.jl Outdated Show resolved Hide resolved
ranocha
ranocha previously approved these changes Jan 28, 2025
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.

Fine from my side - but the maintainers like @benegee and @tristanmontoya should also have a look at it.

@ranocha
Copy link
Member

ranocha commented Jan 28, 2025

@MarcoArtiano The format check fails. Could you please run the formatter locally to fix it?

@tristanmontoya
Copy link
Member

tristanmontoya commented Jan 28, 2025

Fine from my side - but the maintainers like @benegee and @tristanmontoya should also have a look at it.

All looks good to me; I like having the LMARS be consistent with Trixi.jl. Once the format check passes, this can be merged.

@MarcoArtiano
Copy link
Collaborator Author

Fine from my side - but the maintainers like @benegee and @tristanmontoya should also have a look at it.

All looks good to me; I like having the LMARS be consistent with Trixi.jl. Once the format check passes, this can be merged.

Thanks! Now it's ready to be merged.

Copy link
Member

@tristanmontoya tristanmontoya left a comment

Choose a reason for hiding this comment

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

LGTM!

@tristanmontoya tristanmontoya merged commit 029c14e into trixi-framework:main Jan 29, 2025
8 of 9 checks passed
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