Repository navigation
Prevsq and prevst in post schemes - #1247
matusmartini wants to merge 4 commits into
Conversation
| if(progsigma)then | ||
| do k = 1, levs | ||
| do i=1, im | ||
| prevsq(i,k) = gq0(i,k,1) |
There was a problem hiding this comment.
Quoting @climbfuji
"This block is only executed if progsigma is true (and it implicitly requires allocating prevsq). The new code in GFS_physics_post is executed when prevsq is allocated."
- This is ok and I do not see this is as a problem.
|
I can follow up with the same update in https://github.com/ufs-community/c3/blob/24fd7fc0483930abbeb5fff0cceea26511250e25/CCPP/cu_c3_driver_post.F90#L55-L56 |
That would be much appreciated, thank you. |
|
dustinswales
left a comment
There was a problem hiding this comment.
Thank you for these changes.
|
Just noting that because this is cleanup to #1242, which is in ufs-community#395, this PR probably shouldn't be merged until 395 has been merged here. Merging 395 is being tracked in an issue and people are working on it. The SCM PR#741 has been created for this PR but is currently breaking because of the missing 395 |
Description of Changes:
This is a follow-up cleanup to
removing
prevsqandprevstfrom the post schemes. Resetting the fields is redundant because it is already performed inGFS_physics_postat the end of the physics.Tests Conducted:
Tested to verify no impact. As long as
GFS_physics_postis included in the SDF, this change has no impact on the fields.Dependencies:
For completeness, the same is proposed in
Documentation:
None.