Rotate ice shelf forcing and initialization #712
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added the ability to rotate the ice shelf forcing and initialization. The specific changes include correcting the grid passed to a call to
initialize_ice_shelf()
ininitialize_MOM()
, using a temporarymech_forcing
type inadd_shelf_forces()
when the grid is rotated, uncommenting and correcting the draftrotate_index
code ininitialize_ice_shelf()
, and correcting some error-checking and the grid passed toadd_shelf_fluxes()
ininitialize_ice_shelf_forces()
. In addition, unusedhor_index_type
elements were removed from theice_shelf_CS
, and somecallTree
calls were added tosave_MOM_restart()
andinitialize_ice_shelf()
. Without rotation, all answers are bitwise identical, but some cases that would have failed previously will now work.