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

Do not add ᶜ∇²tke⁰ to cache if not needed #3326

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Conversation

Sbozzolo
Copy link
Member

For the diagnostic EDMF case, ᶜ∇²tke⁰ is only used when prognostic_tke is true. This commit ensures that the variable is added to the cache only in that case. Prior to this commit, ᶜ∇²tke⁰ was added unconditionally and would never be updated, so that it was always full with random numbers (being initialized with similar).

@Sbozzolo Sbozzolo requested a review from szy21 September 23, 2024 15:43
@Sbozzolo Sbozzolo force-pushed the gb/tke_diag branch 2 times, most recently from d7ee737 to 55c86c7 Compare September 23, 2024 15:48
@Sbozzolo Sbozzolo enabled auto-merge September 23, 2024 17:39
For the diagnostic EDMF case, `ᶜ∇²tke⁰` is only used when
`prognostic_tke` is true. This commit ensures that the variable is added
to the cache only in that case. Prior to this commit, `ᶜ∇²tke⁰` was
added unconditionally and would never be updated, so that it was always
full with random numbers (being initialized with similar).
@Sbozzolo Sbozzolo added this pull request to the merge queue Sep 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 23, 2024
@Sbozzolo Sbozzolo added this pull request to the merge queue Sep 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 24, 2024
@Sbozzolo Sbozzolo added this pull request to the merge queue Sep 24, 2024
Merged via the queue into main with commit 5e553b1 Sep 24, 2024
13 of 16 checks passed
@Sbozzolo Sbozzolo deleted the gb/tke_diag branch September 24, 2024 03:15
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