-
Notifications
You must be signed in to change notification settings - Fork 113
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
Separation of TrixiShallowWater.jl #1809
Separation of TrixiShallowWater.jl #1809
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1809 +/- ##
===========================================
- Coverage 89.67% 73.26% -16.41%
===========================================
Files 458 438 -20
Lines 36400 35342 -1058
===========================================
- Hits 32640 25891 -6749
- Misses 3760 9451 +5691
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Nice work @patrickersing ! This rips out anything marked for removal having to do with the wet/dry functionality and returns the ShallowWaterEquations
struct to its original form without the different threshold values. Also, the computation of the well-balancedness error returns to its original strategy.
We need to coordinate this breaking change to Trixi with the others and then deal with reviews on the re-implementation of all this functionality into your PR in TrixiShallowWater.jl.
For the modifications to the ShallowWaterEquationsQuasi1D
we need some input from @jlchan . Does the testing and/or functionality of this equation system required the wetting and drying capabilities?
Coordinate yes, but only in the sense that once both PRs are ready, we announce "we are doing this now", merge the PRs and create a new breaking Trixi.jl release immediately. |
Ah, I forgot about #1726. If you are more or less ready here, please bring up this amicable divorce at the next Trixi.jl Meeting! |
Yes, this is what I meant. As a development team we need to all be on the same page and "push the button" so to say on this divorce. In doing so, we can merge any other breaking changes that are ready to go. |
I will add this to the meeting agenda for next week. Also, I will do a review of the corresponding PR in TrixiShallowWater.jl to make sure everything is clean there. That way, I figure the process would be
|
Sounds good to me! It would also be great if you could maybe do the first review of this PR here. From a brief look it seems to include only technical changes at the moment. However, I think we should think about how to present the relationship between Trixi.jl and TrixiSW.jl in the Trixi.jl docs. For instance, I think it should be reflected in the feature list of the README, it needs to be properly documented in the NEWS, and we should also maybe write a short statement about the growing Trixi.jl ecosphere (either in the README or in an extra section). |
That is true, a strategy for the docs of both packages is something that needs to be hammered out and discussed. |
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.
LGTM! It would be good if @ranocha can have a last look before the merge.
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.
LGTM, though I did only a sanity check and didn't, e.g., verify exactly what was removed. What's missing, however, is an appropriate NEWS.md item
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 agree with @sloede - we should get some NEWS.md entry for breaking changes when upgrading to the new Trixi.jl version.
I have added an entry to |
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.
LGTM! I like the additional unit tests and the NEWS item looks good.
I would like to fix the recent CI failures before releasing the breaking version. |
Okay, that is reasonable. |
This PR prepares the separation of the planned TrixiShallowWater.jl package and removes some shallow water specific features, that will move into the new package.
Features that move to the new package are:
threshold_limiter
,threshold_wet
PositivityPreservingLimiterShallowWater
IndicatorHennemannGassnerShallowWater
hydrostatic_reconstruction_chen_noelle
The features including respective examples and tests, will be removed from
Trixi.jl
and be included inTrixiShallowWater.jl
. There, the shallow water equations with wet/dry functionality will be provided by a new equation setShallowWaterEquationsWetDry
. The basicShallowWaterEquations
andShallowWaterEquationsQuasi1D
without Wet/Dry functionality will remain inTrixi.jl
.In order to do the separation, this PR should be prepared together with a companion PR that introduces these features in
TrixiShallowWater.jl
. For the separation process we should then first merge this PR and then add these features inTrixiShallowWater.jl
.