-
Notifications
You must be signed in to change notification settings - Fork 19
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
Only call set_precomputed_quantities! once in the implict stage #2015
Comments
This appears to break the SSP tests, since they don't quite follow the same logic. I think the general solution here is to move |
We also call it twice in the explicit stage: once in and once in
With the ARS343, the second is called directly after the first. Can we safely get rid of it in the second one? |
Yes, the two explicit tendencies are computed for the same state, so their precomputed quantities should be identical. The order in which the tendencies are evaluated is implementation-dependent, though, so it would definitely be safer to separate out the precomputed quantities computation and guarantee that it will only be called once. |
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. (cc `@simonbyrne)` Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. (cc `@simonbyrne)` Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. (cc `@simonbyrne)` Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. (cc `@simonbyrne)` Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. (cc `@simonbyrne)` Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. (cc `@simonbyrne)` Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. (cc `@simonbyrne)` Co-authored-by: Charles Kawczynski <[email protected]>
2161: Update manifest files, overload ClimaTimeSteppers r=charleskawczynski a=charleskawczynski This PR upgrades to the latest dependencies and overloads ClimaTimeSteppers methods so that we can more easily iterate on fixing #2015. (cc `@simonbyrne)` 2164: limit mixing length by z - z_sfc r=szy21 a=szy21 Co-authored-by: Charles Kawczynski <[email protected]> Co-authored-by: Zhaoyi Shen <[email protected]>
2186: Call `set_precomputed_quantities!` in `step!`, remove from callbacks r=charleskawczynski a=charleskawczynski This PR adds a call to `set_precomputed_quantities!` in `step!` and removes all of them from the callbacks. This PR cherry-picked the first commit in #2175, but is somewhat separate in that this PR will potentially be behavior changing. Once this PR is merged (assuming there are no changes, or they are negligible), we should be able to follow through with closing out #2015. Co-authored-by: Charles Kawczynski <[email protected]>
Currently we call
set_precomputed_quantities!
in theWfact!
:ClimaAtmos.jl/src/prognostic_equations/implicit/wfact.jl
Line 64 in 17c5a2f
and once again in the
implicit_tendency!
:ClimaAtmos.jl/src/prognostic_equations/implicit/implicit_tendency.jl
Line 12 in 17c5a2f
But the state should be the same in both cases, so this should be unnecessary.
The text was updated successfully, but these errors were encountered: