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

Improve clarity of SWSaturationAdjustment class #567

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

nhartney
Copy link
Contributor

This pull requests makes some improvements to the layout of the SWSaturationAdjustment class. It clarifies the order of the source terms and the test functions as water_vapour, cloud_water, (D), (b), where D is added for convective feedback and b for thermal feedback. This alignment between the order of source terms and test functions ensures that the correct terms are added to the residual. This pull request does not change what happens in the code but changes the layout slightly and adds some comments with the aim of making this clear.

@nhartney nhartney added the tidying Involves tidying up code label Oct 24, 2024
Copy link
Contributor

@tommbendall tommbendall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good to me

@tommbendall tommbendall merged commit 4497d2f into main Oct 28, 2024
4 checks passed
@tommbendall tommbendall deleted the NHartney/tidy_SWSaturationAdjustment branch October 28, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tidying Involves tidying up code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants