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

Add new water species constituent property #9

Merged
merged 4 commits into from
Oct 12, 2023

Conversation

nusbaume
Copy link
Collaborator

@nusbaume nusbaume commented Oct 3, 2023

Adds new water species constituent property.

This new property is a logical that flags whether a constituent is a type (or "species") of water. This
is needed at least for geopotential because it explicitly needs all thermodynamically-active water species
(which currently requires both a "thermo active" and a "water species" property). I could imagine other
schemes might also need water species information in the future.

User interface changes?: Yes

There are now new is_water_species and set_water_species methods a user can access to control the water_species property for a given constituent.

Testing:
unit tests: Passed, including newly added water_species property tests
manual testing: Used the new property in both CAM and CAM-SIMA (via geoptential_temp) and everything worked as expected.

@nusbaume nusbaume added the enhancement New feature or request label Oct 3, 2023
@nusbaume nusbaume self-assigned this Oct 3, 2023
Copy link
Collaborator

@mwaxmonsky mwaxmonsky left a comment

Choose a reason for hiding this comment

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

Looks great! But one tiny typo I think?

test/advection_test/test_host.F90 Outdated Show resolved Hide resolved
Copy link
Owner

@peverwhee peverwhee left a comment

Choose a reason for hiding this comment

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

looks good to me!

@nusbaume nusbaume merged commit 99cae9f into peverwhee:add_const_interface Oct 12, 2023
11 checks passed
@nusbaume nusbaume deleted the water_species_prop branch January 11, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants