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

Set logicals in MOM_tracer_advect.F90 #699

Merged

Conversation

adcroft
Copy link
Member

@adcroft adcroft commented Jul 31, 2024

Two logicals can be unset when using PLM in MOM_tracer_advect.F90. This was leading to random behavior in the doc files because a third parameter was only being read and logged depending on whether PLM:H3 was used.

This commit sets CS%usePPM = .false. and CS%useHuynh = .false. before processing the run-time parameter.

@adcroft adcroft force-pushed the bugfix-uninit-logicals-tracer-advect branch 2 times, most recently from 7983f5b to 78492d6 Compare July 31, 2024 15:52
We had random behavior in the doc files because the logical `CS%useHuynh`
was not set when using the PLM scheme.
@adcroft adcroft force-pushed the bugfix-uninit-logicals-tracer-advect branch from 78492d6 to 0ee31cb Compare July 31, 2024 16:04
@adcroft adcroft merged commit 90749f3 into NOAA-GFDL:dev/gfdl Jul 31, 2024
10 checks passed
@adcroft adcroft deleted the bugfix-uninit-logicals-tracer-advect branch October 24, 2024 12:41
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.

2 participants