dumbbell_surface_forcing module reference

Surface forcing for the dumbbell test case

Data Types

dumbbell_surface_forcing_CS

Control structure for the dumbbell test case forcing

Functions/Subroutines

dumbbell_buoyancy_forcing

Surface buoyancy (heat and fresh water) fluxes for the dumbbell test case

dumbbell_dynamic_forcing

Dynamic forcing for the dumbbell test case

dumbbell_surface_forcing_init

Reads and sets up the forcing for the dumbbell test case

Type Documentation

type, public :: dumbbell_surface_forcing_CS

Control structure for the dumbbell test case forcing

Parameters
  • use_temperature

    If true, temperature and salinity are used as state variables.

  • restorebuoy

    If true, use restoring surface buoyancy forcing.

  • G_Earth

    The gravitational acceleration [L2 Z-1 T-2 ~> m s-2]

  • Flux_const

    The restoring rate at the surface [R Z T-1 ~> kg m-2 s-1].

  • slp_amplitude

    The amplitude of pressure loading [R L2 T-2 ~> Pa] applied to the reservoirs

  • slp_period

    Period of sinusoidal pressure wave [days]

  • forcing_mask

    A mask regulating where forcing occurs [nondim]

  • S_restore

    The surface salinity field toward which to restore [S ~> ppt].

  • diag

    A structure that is used to regulate the timing of diagnostic output.

Functions/Subroutine Documentation

subroutine dumbbell_buoyancy_forcing(sfc_state, fluxes, day, dt, G, US, CS)

Surface buoyancy (heat and fresh water) fluxes for the dumbbell test case

Parameters
  • sfc_state [inout]

    A structure containing fields that describe the surface state of the ocean.

  • fluxes [inout]

    A structure containing pointers to any possible forcing fields. Unused fields have NULL ptrs.

  • day [in]

    Time of the fluxes.

  • dt [in]

    The amount of time over which the fluxes apply [T ~> s]

  • G [in]

    The ocean's grid structure

  • US [in]

    A dimensional unit scaling type

  • CS

    A control structure returned by a previous call to dumbbell_surface_forcing_init

Callees call graph
Callees of dumbbell_surface_forcing::dumbbell_buoyancy_forcing calls cluster_dumbbell_surface_forcing dumbbell_surface_forcing cluster_mom_safe_alloc MOM_safe_alloc dumbbell_surface_forcing::dumbbell_buoyancy_forcing dumbbell_buoyancy_forcing mom_safe_alloc::interface::safe_alloc_ptr safe_alloc_ptr (interface) dumbbell_surface_forcing::dumbbell_buoyancy_forcing->mom_safe_alloc::interface::safe_alloc_ptr
Text view
Callers call graph
Callers of dumbbell_surface_forcing::dumbbell_buoyancy_forcing calls cluster_dumbbell_surface_forcing dumbbell_surface_forcing cluster_mom_surface_forcing MOM_surface_forcing dumbbell_surface_forcing::dumbbell_buoyancy_forcing dumbbell_buoyancy_forcing mom_surface_forcing::set_forcing set_forcing mom_surface_forcing::set_forcing->dumbbell_surface_forcing::dumbbell_buoyancy_forcing
Text view
subroutine dumbbell_dynamic_forcing(sfc_state, fluxes, day, dt, G, US, CS)

Dynamic forcing for the dumbbell test case

Parameters
  • sfc_state [inout]

    A structure containing fields that describe the surface state of the ocean.

  • fluxes [inout]

    A structure containing pointers to any possible forcing fields. Unused fields have NULL ptrs.

  • day [in]

    Time of the fluxes.

  • dt [in]

    The amount of time over which the fluxes apply [T ~> s]

  • G [in]

    The ocean's grid structure

  • US [in]

    A dimensional unit scaling type

  • CS

    A control structure returned by a previous call to dumbbell_surface_forcing_init

Callees call graph
Callees of dumbbell_surface_forcing::dumbbell_dynamic_forcing calls cluster_dumbbell_surface_forcing dumbbell_surface_forcing cluster_mom_safe_alloc MOM_safe_alloc dumbbell_surface_forcing::dumbbell_dynamic_forcing dumbbell_dynamic_forcing mom_safe_alloc::interface::safe_alloc_ptr safe_alloc_ptr (interface) dumbbell_surface_forcing::dumbbell_dynamic_forcing->mom_safe_alloc::interface::safe_alloc_ptr
Text view

External calls

time_manager_mod
  • get_time (time_manager_mod::get_time)

subroutine dumbbell_surface_forcing_init(Time, G, US, param_file, diag, CS)

Reads and sets up the forcing for the dumbbell test case

Parameters
  • Time [in]

    The current model time.

  • G [in]

    The ocean's grid structure

  • US [in]

    A dimensional unit scaling type

  • param_file [in]

    A structure to parse for run-time parameters

  • diag [in]

    A structure that is used to regulate diagnostic output.

  • CS

    A pointer to the control structure for this module

Callees call graph
Callees of dumbbell_surface_forcing::dumbbell_surface_forcing_init calls cluster_dumbbell_surface_forcing dumbbell_surface_forcing cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser dumbbell_surface_forcing::dumbbell_surface_forcing_init dumbbell_surface_forcing_init mom_error_handler::mom_error MOM_error dumbbell_surface_forcing::dumbbell_surface_forcing_init->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) dumbbell_surface_forcing::dumbbell_surface_forcing_init->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) dumbbell_surface_forcing::dumbbell_surface_forcing_init->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of dumbbell_surface_forcing::dumbbell_surface_forcing_init calls cluster_dumbbell_surface_forcing dumbbell_surface_forcing cluster_mom_surface_forcing MOM_surface_forcing dumbbell_surface_forcing::dumbbell_surface_forcing_init dumbbell_surface_forcing_init mom_surface_forcing::surface_forcing_init surface_forcing_init mom_surface_forcing::surface_forcing_init->dumbbell_surface_forcing::dumbbell_surface_forcing_init
Text view
API generated with Flint · Rendered from reStructuredText