-
Notifications
You must be signed in to change notification settings - Fork 5
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
Wip on summing all rain tendencies #372
Conversation
8c71919
to
1ebcab1
Compare
There are some tiny changes for Rico case. But the profiles look almost indistinguishable to me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
6491c6f
to
d08f18b
Compare
TS::TimeStepping, | ||
) | ||
@inbounds for k in real_center_indices(rain_var.grid) | ||
rain_var.QR.values[k] += |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we have a max(...,0) here to ensure that QR is positive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we do it here we would not be conserving mass anymore. Since the same tendencies need to be subtracted from qt. I think a better strategy is to have your scheme not break with small negatives for qr
d08f18b
to
cf41616
Compare
bors r+ |
414: Bump version r=charleskawczynski a=charleskawczynski Co-authored-by: Charles Kawczynski <[email protected]>
This finished the rain cleanup. All tendencies are calculated and then applied in one place.
@charleskawczynski - lmk what other changes to names/arrays etc you want done at this point. Or is it enough to leave for now and wait for a new timestepper?