shelfwave_initialization module reference

Configures the model for the idealized shelfwave test case.

Data Types

shelfwave_OBC_CS

Control structure for shelfwave open boundaries.

Functions/Subroutines

register_shelfwave_OBC

Add shelfwave to OBC registry.

shelfwave_OBC_end

Clean up the shelfwave OBC from registry.

shelfwave_initialize_topography

Initialization of topography.

shelfwave_set_OBC_data

This subroutine sets the properties of flow at open boundary conditions.

Type Documentation

type, public :: shelfwave_OBC_CS

Control structure for shelfwave open boundaries.

Parameters
  • my_amp

    Amplitude of the open boundary current inflows [L T-1 ~> m s-1]

  • kk

    Cross-shore wavenumber [km-1] or [m-1]

  • ll

    Longshore wavenumber [km-1] or [m-1]

  • alpha

    Exponential decay rate in the y-direction [km-1] or [m-1]

  • omega

    Frequency of the shelf wave [T-1 ~> s-1]

  • shelfwave_correct_amplitude

    If true, SHELFWAVE_AMPLITUDE gives the actual inflow velocity, rather than giving an overall scaling factor for the flow.

Functions/Subroutine Documentation

function register_shelfwave_OBC(param_file, CS, G, US, OBC_Reg)

Add shelfwave to OBC registry.

Parameters
  • param_file [in]

    parameter file.

  • CS

    shelfwave control structure.

  • G [in]

    The ocean's grid structure.

  • US [in]

    A dimensional unit scaling type

  • OBC_Reg

    Open boundary condition registry.

  • casename

    This case's name.

Callees call graph
Callees of shelfwave_initialization::register_shelfwave_obc calls cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_open_boundary MOM_open_boundary cluster_shelfwave_initialization shelfwave_initialization mom_error_handler::mom_error MOM_error mom_file_parser::interface::get_param get_param (interface) mom_open_boundary::register_obc register_OBC shelfwave_initialization::register_shelfwave_obc register_shelfwave_OBC shelfwave_initialization::register_shelfwave_obc->mom_error_handler::mom_error shelfwave_initialization::register_shelfwave_obc->mom_file_parser::interface::get_param shelfwave_initialization::register_shelfwave_obc->mom_open_boundary::register_obc
Text view
Callers call graph
Callers of shelfwave_initialization::register_shelfwave_obc calls cluster_mom_boundary_update MOM_boundary_update cluster_shelfwave_initialization shelfwave_initialization mom_boundary_update::call_obc_register call_OBC_register shelfwave_initialization::register_shelfwave_obc register_shelfwave_OBC mom_boundary_update::call_obc_register->shelfwave_initialization::register_shelfwave_obc
Text view
subroutine shelfwave_OBC_end(CS)

Clean up the shelfwave OBC from registry.

Parameters
  • CS

    shelfwave control structure.

subroutine shelfwave_initialize_topography(D, G, param_file, max_depth, US)

Initialization of topography.

Parameters
  • G [in]

    The dynamic horizontal grid type

  • D [out]

    Ocean bottom depth [Z ~> m]

  • param_file [in]

    Parameter file structure

  • max_depth [in]

    Maximum model depth [Z ~> m]

  • US [in]

    A dimensional unit scaling type

Callees call graph
Callees of shelfwave_initialization::shelfwave_initialize_topography calls cluster_mom_file_parser MOM_file_parser cluster_shelfwave_initialization shelfwave_initialization mom_file_parser::interface::get_param get_param (interface) shelfwave_initialization::shelfwave_initialize_topography shelfwave_initialize_topography shelfwave_initialization::shelfwave_initialize_topography->mom_file_parser::interface::get_param
Text view
Callers call graph
Callers of shelfwave_initialization::shelfwave_initialize_topography calls cluster_mom_fixed_initialization MOM_fixed_initialization cluster_shelfwave_initialization shelfwave_initialization mom_fixed_initialization::mom_initialize_topography MOM_initialize_topography shelfwave_initialization::shelfwave_initialize_topography shelfwave_initialize_topography mom_fixed_initialization::mom_initialize_topography->shelfwave_initialization::shelfwave_initialize_topography
Text view
subroutine shelfwave_set_OBC_data(OBC, CS, G, GV, US, h, Time)

This subroutine sets the properties of flow at open boundary conditions.

Parameters
  • OBC

    This open boundary condition type specifies whether, where, and what open boundary conditions are used.

  • CS

    tidal bay control structure.

  • G [in]

    The ocean's grid structure.

  • GV [in]

    The ocean's vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • h [in]

    layer thickness [H ~> m or kg m-2]

  • Time [in]

    model time.

Callees call graph
Callees of shelfwave_initialization::shelfwave_set_obc_data calls cluster_mom_error_handler MOM_error_handler cluster_mom_open_boundary MOM_open_boundary cluster_mom_time_manager MOM_time_manager cluster_shelfwave_initialization shelfwave_initialization mom_error_handler::mom_error MOM_error mom_open_boundary::rotate_obc_segment_direction rotate_OBC_segment_direction mom_time_manager::time_to_real time_to_real shelfwave_initialization::shelfwave_set_obc_data shelfwave_set_OBC_data shelfwave_initialization::shelfwave_set_obc_data->mom_error_handler::mom_error shelfwave_initialization::shelfwave_set_obc_data->mom_open_boundary::rotate_obc_segment_direction shelfwave_initialization::shelfwave_set_obc_data->mom_time_manager::time_to_real
Text view
Callers call graph
Callers of shelfwave_initialization::shelfwave_set_obc_data calls cluster_mom_boundary_update MOM_boundary_update cluster_shelfwave_initialization shelfwave_initialization mom_boundary_update::update_obc_data update_OBC_data shelfwave_initialization::shelfwave_set_obc_data shelfwave_set_OBC_data mom_boundary_update::update_obc_data->shelfwave_initialization::shelfwave_set_obc_data
Text view
API generated with Flint · Rendered from reStructuredText