user_revise_forcing module reference

Provides a template for users to code updating the forcing fluxes.

Data Types

user_revise_forcing_CS

Control structure for user_revise_forcing

Functions/Subroutines

user_alter_forcing

This subroutine sets the surface wind stresses.

user_revise_forcing_init

Initialize the user_revise_forcing control structure

Type Documentation

type, public :: user_revise_forcing_CS

Control structure for user_revise_forcing

Parameters
  • cdrag

    The quadratic bottom drag coefficient [nondim]

Functions/Subroutine Documentation

subroutine user_alter_forcing(sfc_state, fluxes, day, G, CS)

This subroutine sets the surface wind stresses.

Parameters
  • sfc_state [in]

    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.

  • G [in]

    The ocean's grid structure.

  • CS

    A pointer to the control structure returned by a previous call to surface_forcing_init.

Callers call graph
Callers of user_revise_forcing::user_alter_forcing calls cluster_mom_surface_forcing MOM_surface_forcing cluster_user_revise_forcing user_revise_forcing mom_surface_forcing::set_forcing set_forcing user_revise_forcing::user_alter_forcing user_alter_forcing mom_surface_forcing::set_forcing->user_revise_forcing::user_alter_forcing
Text view
subroutine user_revise_forcing_init(param_file, CS)

Initialize the user_revise_forcing control structure

Parameters
  • param_file [in]

    A structure indicating the open file to parse for model parameter values.

  • CS

    A pointer to the control structure returned by a previous call to surface_forcing_init.

  • mdl

    This module's name.

Callees call graph
Callees of user_revise_forcing::user_revise_forcing_init calls cluster_mom_file_parser MOM_file_parser cluster_user_revise_forcing user_revise_forcing mom_file_parser::interface::log_version log_version (interface) user_revise_forcing::user_revise_forcing_init user_revise_forcing_init user_revise_forcing::user_revise_forcing_init->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of user_revise_forcing::user_revise_forcing_init calls cluster_mom_surface_forcing MOM_surface_forcing cluster_user_revise_forcing user_revise_forcing mom_surface_forcing::surface_forcing_init surface_forcing_init user_revise_forcing::user_revise_forcing_init user_revise_forcing_init mom_surface_forcing::surface_forcing_init->user_revise_forcing::user_revise_forcing_init
Text view
API generated with Flint · Rendered from reStructuredText