Skip to content

Check if fluxes%salt_flux is associated#301

Merged
alperaltuntas merged 1 commit into
NCAR:dev/ncarfrom
mnlevy1981:salt_flux_bug
Sep 9, 2024
Merged

Check if fluxes%salt_flux is associated#301
alperaltuntas merged 1 commit into
NCAR:dev/ncarfrom
mnlevy1981:salt_flux_bug

Conversation

@mnlevy1981
Copy link
Copy Markdown
Collaborator

Do not want to compute net_salt_rate or any of the flux_from_salt_flux(:,:) terms if salt_flux is not being used in the fluxes derived type. (CESM is configured to use salt fluxes, but the stand-alone MOM6+MARBL test case is not... as the code stands, the latter throws a segmentation fault because fluxes%salt_flux is not associated).

Most of the diffs are white-space...

Do not want to compute net_salt_rate or any of the flux_from_salt_flux(:,:)
terms if salt_flux is not being used in the fluxes derived type
Copy link
Copy Markdown
Collaborator

@klindsay28 klindsay28 left a comment

Choose a reason for hiding this comment

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

LGTM

@alperaltuntas alperaltuntas merged commit 37411fb into NCAR:dev/ncar Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants