Skip to content

Conversation

@alex-huth
Copy link

-Optimized the ice-shelf CG scheme by reducing the number of times reproducing_sum (and therefore, mpp_sum) is called. Previously, several 2-D arrays were each being passed within their own reproducing_sum calls, which is now avoided by consolidating the 2-D arrays into one 3-D array that is passed to a single reproducing_sum call. This is not answer-changing.

-Make sure frazil is allocated before adding it to the ice-shelf water flux calculation. Required for runs without frazil

-Added a mask that is >0 where ice-shelf melting is allowed. Defaults to 1 (melting allowed everywhere) if no mask is provided. Useful in some regional/idealized configurations.

…roducing_sum (and therefore, mpp_sum) is called. Previously, several 2-D arrays were each being passed within their own reproducing_sum calls, which is now avoided by consolidating the 2-D arrays into one 3-D array that is passed to a single reproducing_sum call.
…ux calculation. Needed for runs without frazil.
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.

1 participant