MPAS-Dev / MPAS

Repository for private MPAS development prior to the MPAS v6.0 release.
Other
4 stars 0 forks source link

Initial commit of branch to generalize incremental remapping routines. #1447

Closed darincomeau closed 6 years ago

darincomeau commented 7 years ago

This is a work-in-progress PR aimed at generalizing the MPAS-seaice incremental remapping routines so as to remove explicit references to sea ice variables.

Initial commit is BFB.

darincomeau commented 7 years ago

@akturner Can you add the Don't Merge and sea ice tags?

darincomeau commented 6 years ago

@akturner this is now ready for review.

This PR generalizes the incremental remapping subroutines by removing references to sea ice specific variables, and adds functionality of iceberg advection via IR. This is mainly done by adding attributes to the tracersHead type, including velocities, so as to handle both sea ice and icebergs. Since each iceberg category has its own velocities, separate tracersHead linked lists are constructed for each iceberg category (see cice_set_tracer_array_pointers). Note the iceberg tracersHeads are constructed during iceberg initialization (cice_bergs_init), whereas the sea ice tracersHead is constructed during (cice_init_advection_incremental_remap).

BFB with icebergs turned off, and the PR includes changes to the namelist and Registry.

darincomeau commented 6 years ago

Note - still to be done is removing the hard-coding of nBergCategories bergTracersHead objects.