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

Merging thesis_gemein_2022 into TrixiAtmo.jl #2

Merged
merged 21 commits into from
Aug 17, 2024
Merged

Conversation

Arpit-Babbar
Copy link
Member

@Arpit-Babbar Arpit-Babbar commented Jul 7, 2024

This PR started as an explanation to #1. Now, it adds all the elixirs with respective CI tests from Lucas' thesis.

TODO

@tristanmontoya
Copy link
Member

tristanmontoya commented Jul 7, 2024

This is a good start for TrixiAtmo.jl, and should be quite useful. I will have some time to look into the specifics more in the next week, but my first thought is that we should perhaps set up testing/CI (similarly to TrixiShallowWater.jl) before merging this to main.

Copy link
Contributor

Pull Request Test Coverage Report for Build 9959365955

Details

  • 0 of 567 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-99.3%) to 0.701%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/equations/compressible_moist_euler_2d.jl 0 567 0.0%
Totals Coverage Status
Change from base Build 9959098082: -99.3%
Covered Lines: 4
Relevant Lines: 571

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jul 16, 2024

Pull Request Test Coverage Report for Build 9970231868

Details

  • 211 of 568 (37.15%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-62.4%) to 37.587%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/equations/compressible_moist_euler_2d.jl 211 568 37.15%
Totals Coverage Status
Change from base Build 9959098082: -62.4%
Covered Lines: 215
Relevant Lines: 572

💛 - Coveralls

Copy link
Member Author

@Arpit-Babbar Arpit-Babbar left a comment

Choose a reason for hiding this comment

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

Minor fixes

examples/elixir_moist_euler_dry_bubble.jl Outdated Show resolved Hide resolved
examples/elixir_moist_euler_dry_bubble.jl Outdated Show resolved Hide resolved
examples/elixir_moist_euler_dry_bubble.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d.jl Outdated Show resolved Hide resolved
src/equations/compressible_moist_euler_2d.jl Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

Attention: Patch coverage is 73.76761% with 149 lines in your changes missing coverage. Please review.

Project coverage is 50.90%. Comparing base (1c7efd9) to head (5f91de5).
Report is 1 commits behind head on main.

Files Patch % Lines
src/equations/compressible_moist_euler_2d_lucas.jl 73.76% 149 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main       #2       +/-   ##
===========================================
+ Coverage   19.34%   50.90%   +31.55%     
===========================================
  Files           8        8               
  Lines         827      827               
===========================================
+ Hits          160      421      +261     
+ Misses        667      406      -261     

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

@benegee
Copy link
Collaborator

benegee commented Jul 19, 2024

At first I though that we could maybe move some parts to TrixiBase.jl, but then I realized that these macro e.g. explicitly include the Trixi. Maybe we should therefore just add our own macros as need be.

@benegee
Copy link
Collaborator

benegee commented Jul 19, 2024

  • Are the 1920 allocations expected?

Which test case was it?

@Arpit-Babbar Arpit-Babbar marked this pull request as ready for review August 6, 2024 12:50
tristanmontoya
tristanmontoya previously approved these changes Aug 16, 2024
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.

It looks good to me, although I am wondering if either of you (@Arpit-Babbar or @benegee) know the reason for the warnings copied below? My tests have always been very simple so I've never run into this.

WARNING: replacing module TrixiAtmoTestModule.
WARNING: could not import TestExamples2DMoistEuler.TRIXI_EXAMPLES_DIR into TrixiAtmoTestModule

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.

I think it's good to merge if we're ok with the warnings I mentioned above.

@ranocha
Copy link
Member

ranocha commented Aug 16, 2024

It looks good to me, although I am wondering if either of you (@Arpit-Babbar or @benegee) know the reason for the warnings copied below? My tests have always been very simple so I've never run into this.

WARNING: replacing module TrixiAtmoTestModule. WARNING: could not import TestExamples2DMoistEuler.TRIXI_EXAMPLES_DIR into TrixiAtmoTestModule

You define a module with the same name every time in

@eval module TrixiAtmoTestModule

If you want to get rid of that warning, you could gensym an appropriate name - but I don't think that's necessary right now.

@tristanmontoya tristanmontoya merged commit 317d2d2 into main Aug 17, 2024
10 checks passed
@tristanmontoya tristanmontoya deleted the ab_lucas branch August 17, 2024 14:21
@tristanmontoya tristanmontoya restored the ab_lucas branch August 17, 2024 23:07
@tristanmontoya tristanmontoya deleted the ab_lucas branch August 18, 2024 14:59
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.

5 participants