Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • g2x_states: Sg_icemask, Sg_icemask_coupled_fluxes, Sg_ice_covered, Sg_topo, Sg_blit, Sg_blis, Sg_lithop, Sg_icemask_grounded, Sg_icemask_floating, Sg_tbot, Sg_dztbot

    • Sg_blit: Boundary layer interface temperature for ocean

    • Sg_blis: Boundary layer interface salinity for ocean

    • Sg_lithop: Ice sheet lithostatic pressur

    • Sg_icemask_grounded: Grounded ice mask

    • Sg_icemask_floating: Floating ice mask

    • Sg_tbot: Bottom layer ice temperature

    • Sg_dztbot: Bottom layer ice layer half thickness

  • g2x_fluxes: Fogg_rofl, Fogg_rofi, Figg_rofi, Flgg_hflx, Fogx_qicelo, Fogx_qiceho

    • Fogg_rofl glc liquid runoff flux to ocean

    • Fogg_rofi glc frozen runoff flux to ocean

    • Figg_rofi: glc frozen runoff_iceberg flux to sea ice

    • Flgg_hflx: Downward heat flux from glacier interior

    • Flgg_qicelo: Subshelf liquid flux for ocean

    • Fogx_qiceho: Subshelf heat flux for the ocean

    • g2o_liq_fluxes: Fogg_rofl

    • g2o_iceq_fluxes: Fogg_rofi

  • x2g_states: Sl_tsrf, So_blt, So_bls, So_htv, So_stv, So_rhoeff

    • Sl_tsrf:

    • So_blt: Ice shelf boundary layer ocean temperature

    • So_bls: Ice shelf boundary layer ocean salinity

    • So_htv: Ice shelf ocean heat transfer velocity

    • So_stv: Ice shelf ocean salinity transfer velocity

    • So_rhoeff: Ocean effective pressure

    • x2g_states_from_lnd: Sl_tsrf

  • x2g_fluxes: Flgl_qice, Fogx_qiceli, Fogx_qicehi

    • Flgl_qice: New glacier ice flux

    • Fogx_qiceli: Subshelf mass flux for ice sheet

    • Fogx_qicehi: Subshelf heat flux for ice sheet

    • x2g_fluxes_from_lnd: Flgl_qice

Modifications to coupler

init

if (glc_c2_ocn) init mapper_Rg2o_liq and mapper_Rg2o_ice

in run loop:

at top of loop in atmocn prep

if (glc_c2_ocn) Do Rg2o mapping for g2o_liq_fluxes and g2o_ice_fluxes

after land receive

if (glc_present) call cime_run_glc_setup_send

At bottom after running atm and ocn

(if glc_present) run glc (pass in glc_prognostic

(if glc_present) call cime_run_glc_recv_post

if (glc_c2_ocn) prep_rof_accum_ocn(timer='CPL:ocnpost_acco2r')

call cime_run_ocnglc_coupling

if(glc_present) and (glcshelf_to_ocn and ocn_to_glcshelf)

call prep_glc_calc_o2x_gc: call mapper_So2g for ocean to glc

call prep_glc_calculate_subshelf_boundary_fluxes; compute_melt_fluxes

call prep_ocn_shelf_calc_g2x_ox: map_Sg2o, map_Fg2o

prep_glc_accum_ocn (accumulate x2g_g fields)

if (glc_present and glcshelf_c2_ice) call prep_ice_shelf_calc_g2x_ix; map_Sg2i