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

Revert a bug fix with visc_rem in continuity solver #745

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

herrwang0
Copy link

This PR reverts a bug fix introduced previously #639, related to using visc_rem_[uv] for vertical weights frhat[uv] in barotropic solver. The change (controlled by runtime parameter VISC_REM_CONT_HVEL_FIX), was demonstrated to be incorrect. Therefore the "fix" is unnecessary.

The other two bug fixes introduced at the same time are still valid. Corresponding runtime parameter names are changed with a suffix "_bug" for consistency.

This PR introduces no answer changes. There are changes in runtime parameters with one removal and three name/description changes.

Copy link
Member

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

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

I have reviewed these changes, and I have been involved in the discussions that led to these revisions, and I believe them to be correct.

@Hallberg-NOAA Hallberg-NOAA added bug Something isn't working Parameter change Input parameter changes (addition, removal, or description) labels Nov 4, 2024
This particular bugfix was proved to be unnecessary and therefore
incorrectly added. Runtime parameter VISC_REM_BUG now controls two
bugfixes, related to RK2 time stepping and barotropic vertical weight,
which are valid.
VISC_REM_TIMESTEP_FIX -> VISC_REM_TIMESTEP_BUG
VISC_REM_BT_WEIGHT_FIX -> VISC_REM_BT_WEIGHT_BUG

The "signs" of the flags are flipped accordingly.
@adcroft
Copy link
Member

adcroft commented Nov 5, 2024

@adcroft adcroft merged commit dbb3601 into NOAA-GFDL:dev/gfdl Nov 5, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Parameter change Input parameter changes (addition, removal, or description)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants