user_shelf_init module reference

This module specifies the initial values and evolving properties of the MOM6 ice shelf, using user-provided code.

Data Types

user_ice_shelf_CS

The control structure for the user_ice_shelf module

Functions/Subroutines

USER_initialize_shelf_mass

This subroutine sets up the initial mass and area covered by the ice shelf, based on user-provided code.

USER_init_ice_thickness

This subroutine updates the ice shelf thickness, as specified by user-provided code.

USER_update_shelf_mass

This subroutine updates the ice shelf mass, as specified by user-provided code.

write_user_log

This subroutine writes out the user ice shelf code version number to the model log.

Type Documentation

type, public :: user_ice_shelf_CS

The control structure for the user_ice_shelf module

Parameters
  • Rho_ocean

    The ocean's typical density [R ~> kg m-3].

  • max_draft

    The maximum ocean draft of the ice shelf [Z ~> m].

  • min_draft

    The minimum ocean draft of the ice shelf [Z ~> m].

  • flat_shelf_width

    The range over which the shelf is min_draft thick [km].

  • shelf_slope_scale

    The range over which the shelf slopes [km].

  • pos_shelf_edge_0

    The x-position of the shelf edge at time 0 [km].

  • shelf_speed

    The ice shelf speed of translation [km day-1]

  • first_call

    If true, this module has not been called before.

Functions/Subroutine Documentation

subroutine USER_initialize_shelf_mass(mass_shelf, area_shelf_h, h_shelf, hmask, G, US, CS, param_file, new_sim)

This subroutine sets up the initial mass and area covered by the ice shelf, based on user-provided code.

Parameters
  • G [in]

    The ocean's grid structure

  • mass_shelf [out]

    The ice shelf mass per unit area averaged over the full ocean cell [R Z ~> kg m-2].

  • h_shelf [out]

    The ice shelf thickness [Z ~> m].

  • area_shelf_h [out]

    The area per cell covered by the ice shelf [L2 ~> m2].

  • hmask [out]

    A mask indicating which tracer points are partly or fully covered by an ice-shelf

  • US [in]

    A structure containing unit conversion factors

  • CS

    A pointer to the user ice shelf control structure

  • param_file [in]

    A structure to parse for run-time parameters

  • new_sim [in]

    If true, this is a new run; otherwise it is being started from a restart file.

Callees call graph
Callees of user_shelf_init::user_initialize_shelf_mass calls cluster_mom_file_parser MOM_file_parser cluster_user_shelf_init user_shelf_init mom_file_parser::interface::get_param get_param (interface) user_shelf_init::user_initialize_shelf_mass USER_initialize_shelf_mass user_shelf_init::user_initialize_shelf_mass->mom_file_parser::interface::get_param user_shelf_init::user_update_shelf_mass USER_update_shelf_mass user_shelf_init::user_initialize_shelf_mass->user_shelf_init::user_update_shelf_mass user_shelf_init::write_user_log write_user_log [private/internal] user_shelf_init::user_initialize_shelf_mass->user_shelf_init::write_user_log
Text view
Callers call graph
Callers of user_shelf_init::user_initialize_shelf_mass calls cluster_mom_ice_shelf MOM_ice_shelf cluster_user_shelf_init user_shelf_init mom_ice_shelf::initialize_shelf_mass initialize_shelf_mass [private/internal] user_shelf_init::user_initialize_shelf_mass USER_initialize_shelf_mass mom_ice_shelf::initialize_shelf_mass->user_shelf_init::user_initialize_shelf_mass user_shelf_init::user_init_ice_thickness USER_init_ice_thickness user_shelf_init::user_init_ice_thickness->user_shelf_init::user_initialize_shelf_mass
Text view

External calls

time_manager_mod
  • set_time (time_manager_mod::set_time)

subroutine USER_init_ice_thickness(h_shelf, area_shelf_h, hmask, G, US, param_file)

This subroutine updates the ice shelf thickness, as specified by user-provided code.

Parameters
  • G [in]

    The ocean's grid structure

  • h_shelf [out]

    The ice shelf thickness [Z ~> m].

  • area_shelf_h [out]

    The area per cell covered by the ice shelf [L2 ~> m2].

  • hmask [out]

    A mask indicating which tracer points are partly or fully covered by an ice-shelf [nondim]

  • US [in]

    A structure containing unit conversion factors

  • param_file [in]

    A structure to parse for run-time parameters

Callees call graph
Callees of user_shelf_init::user_init_ice_thickness calls cluster_user_shelf_init user_shelf_init user_shelf_init::user_init_ice_thickness USER_init_ice_thickness user_shelf_init::user_initialize_shelf_mass USER_initialize_shelf_mass user_shelf_init::user_init_ice_thickness->user_shelf_init::user_initialize_shelf_mass
Text view
Callers call graph
Callers of user_shelf_init::user_init_ice_thickness calls cluster_mom_ice_shelf_initialize MOM_ice_shelf_initialize cluster_user_shelf_init user_shelf_init mom_ice_shelf_initialize::initialize_ice_thickness initialize_ice_thickness user_shelf_init::user_init_ice_thickness USER_init_ice_thickness mom_ice_shelf_initialize::initialize_ice_thickness->user_shelf_init::user_init_ice_thickness
Text view
subroutine USER_update_shelf_mass(mass_shelf, area_shelf_h, h_shelf, hmask, G, CS, Time, new_sim)

This subroutine updates the ice shelf mass, as specified by user-provided code.

Parameters
  • G [in]

    The ocean's grid structure

  • mass_shelf [inout]

    The ice shelf mass per unit area averaged over the full ocean cell [R Z ~> kg m-2].

  • area_shelf_h [inout]

    The area per cell covered by the ice shelf [L2 ~> m2].

  • h_shelf [inout]

    The ice shelf thickness [Z ~> m].

  • hmask [inout]

    A mask indicating which tracer points are partly or fully covered by an ice-shelf [nondim]

  • CS

    A pointer to the user ice shelf control structure

  • Time [in]

    The current model time

  • new_sim [in]

    If true, this the start of a new run.

Callers call graph
Callers of user_shelf_init::user_update_shelf_mass calls cluster_user_shelf_init user_shelf_init user_shelf_init::user_initialize_shelf_mass USER_initialize_shelf_mass user_shelf_init::user_update_shelf_mass USER_update_shelf_mass user_shelf_init::user_initialize_shelf_mass->user_shelf_init::user_update_shelf_mass
Text view

External calls

time_manager_mod
  • time_type_to_real (time_manager_mod::time_type_to_real)

subroutine write_user_log(param_file)

This subroutine writes out the user ice shelf code version number to the model log.

Parameters
  • param_file [in]

    A structure to parse for run-time parameters

Callees call graph
Callees of user_shelf_init::write_user_log calls cluster_mom_file_parser MOM_file_parser cluster_user_shelf_init user_shelf_init mom_file_parser::interface::log_version log_version (interface) user_shelf_init::write_user_log write_user_log [private/internal] user_shelf_init::write_user_log->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of user_shelf_init::write_user_log calls cluster_user_shelf_init user_shelf_init user_shelf_init::user_initialize_shelf_mass USER_initialize_shelf_mass user_shelf_init::write_user_log write_user_log [private/internal] user_shelf_init::user_initialize_shelf_mass->user_shelf_init::write_user_log
Text view
API generated with Flint · Rendered from reStructuredText