-
Notifications
You must be signed in to change notification settings - Fork 119
Rename gravity_constant
to gravity
in the equations constructor
#2357
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
base: main
Are you sure you want to change the base?
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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2357 +/- ##
=======================================
Coverage 96.93% 96.93%
=======================================
Files 500 500
Lines 41499 41499
=======================================
Hits 40226 40226
Misses 1273 1273
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Breaking changes should be documented in the News.md
:)
I have now added the respective entry to the |
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.
Looks ok from the technical side, but someone else should give the final verdict here.
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 added this to the list of the PRs for the next breaking release
Thanks. I marked this as a draft so that nobody accidentally merges it before we are prepared for the next breaking release. |
This PR renames the
gravity_constant
keyword in the equations constructor togravity
and fixes the docstrings/comments to describe this quantity as the gravitational acceleration instead of the gravitational constant. This will make it consistent with the actual fieldequations.gravity
and avoid any confusion between gravitational acceleration and the gravitational constant. See trixi-framework/TrixiShallowWater.jl#82, trixi-framework/TrixiShallowWater.jl#84.Since this changes the keyword argument for the equations constructor it must be considered a breaking change.