[ ] Short (1 sentence) summary of your PR:
Reduce and remove arrays not needed from ice_grid
[ ] Developer(s):
Till Rasmussen, DMI
[ x] Suggest PR reviewers from list in the column to the right.
[ ] Please copy the PR test results link or provide a summary of testing completed below.
Bit for Bit
How much do the PR code changes differ from the unmodified code?
[ x] bit for bit
[ ] different at roundoff level
[ ] more substantial
Does this PR create or have dependencies on Icepack or any other models?
[ ] Yes
[x ] No
Does this PR update the Icepack submodule? If so, the Icepack submodule must point to a hash on Icepack's main branch.
[ ] Yes
[ x] No
Does this PR add any new test cases?
[ ] Yes
[ x] No
Is the documentation being updated? ("Documentation" includes information on the wiki or in the .rst files from doc/source/, which are used to create the online technical docs at https://readthedocs.org/projects/cice-consortium-cice/. A test build of the technical docs will be performed as part of the PR testing.)
[ ] Yes
[ x] No, does the documentation need to be updated at a later time?
[ ] Yes
[ x] No
[ ] Please provide any additional information or relevant details below:
Changes according to these principles
a/ If not used remove
b/ If only used in specific modules move there and allocate when needed.
In ice_grid:
1/ Removed mne, mnw, mse, msw. Not used. Points to remapping
2/ xav, yav, xxav, yyav changed to paremeters and moved to remapping where they are used. First two are 0. Should be removed. The latter two are 1/12. An interface was needed as subroutine limited_gradient required input as array. This could probably be fixed in alternative ways.
3/ Moved cyp, cxp, cym, cxm, dxhy, dyhx. Moved to ice_dyn_shared. Only allocate when 2d B-grid (EAP, EVP, VP).
Moved ratiodxN, ratiodyE, ratiodxNr, ratiodyEr to ice_dyn_evp. Only allocated when C grid
@dabail10 Many grid parameters are set to 1e36 within CESM cpp flag. I cannot really check. any preferences for what to do?
For detailed information about submitting Pull Requests (PRs) to the CICE-Consortium, please refer to: https://github.com/CICE-Consortium/About-Us/wiki/Resource-Index#information-for-developers
PR checklist