MOM_tidal_forcing module reference

Tidal contributions to geopotential

Data Types

astro_longitudes

The maximum number of tidal constituents that could be used. Simple type to store astronomical longitudes used to calculate tidal phases.

tidal_forcing_CS

The control structure for the MOM_tidal_forcing module

Functions/Subroutines

astro_longitudes_init

Finds astronomical longitudes s, h, p, and N, the mean longitude of the moon, sun, lunar perigee, and ascending node, respectively, at the specified reference time time_ref. These formulas were obtained from Kowalik and Luick, "Modern Theory and Practice of Tide Analysis and Tidal Power", 2019 (their Equation I.71), which are based on Schureman, 1958. For simplicity, the time associated with time_ref should be at midnight. These formulas also only make sense if the calendar is Gregorian.

eq_phase

Calculates the equilibrium phase argument for the given tidal constituent constit and the astronomical longitudes and the reference time. These formulas follow Table I.4 of Kowalik and Luick, "Modern Theory and Practice of Tide Analysis and Tidal Power", 2019.

tidal_frequency

Looks up angular frequencies for the main tidal constituents. Values used here are from previous versions of MOM.

nodal_fu

Find amplitude (f) and phase (u) modulation of tidal constituents by the 18.6 year nodal cycle. Values here follow Table I.6 in Kowalik and Luick, "Modern Theory and Practice of Tide Analysis and Tidal Power", 2019.

tidal_forcing_init

This subroutine allocates space for the static variables used by this module. The metrics may be effectively 0, 1, or 2-D arrays, while fields like the background viscosities are 2-D arrays. ALLOC is a macro defined in MOM_memory.h for allocate or nothing with static memory.

find_in_files

This subroutine finds a named variable in a list of files and reads its values into a domain-decomposed 2-d array

calc_tidal_forcing

This subroutine calculates the geopotential anomalies that drive the tides, including tidal self-attraction and loading from previous solutions.

calc_tidal_forcing_legacy

This subroutine functions the same as calc_tidal_forcing but outputs a field that combines previously calculated self-attraction and loading (SAL) and tidal forcings, so that old answers can be preserved bitwise before SAL is separated out as an individual module.

tidal_forcing_end

This subroutine deallocates memory associated with the tidal forcing module.

Detailed Description

Tidal forcing

Code by Robert Hallberg, August 2005, based on C-code by Harper Simmons, February, 2003, in turn based on code by Brian Arbic.

The main subroutine in this file calculates the total tidal contribution to the geopotential, including self-attraction and loading terms and the astronomical contributions. All options are selected with entries in a file that is parsed at run-time. Overall tides are enabled with the run-time parameter 'TIDES=True'. Tidal constituents must be individually enabled with lines like 'TIDE_M2=True'. This file has default values of amplitude, frequency, Love number, and phase at time 0 for the Earth's M2, S2, N2, K2, K1, O1, P1, Q1, MF, and MM tidal constituents, but the frequency, amplitude and phase ant time 0 for each constituent can be changed at run time by setting variables like TIDE_M2_FREQ, TIDE_M2_AMP and TIDE_M2_PHASE_T0 (for M2).

In addition, approaches to calculate self-attraction and loading due to tides (harmonics of astronomical forcing frequencies) are provided. TIDAL_SAL_FROM_FILE can be set to read the phase and amplitude of the tidal SAL. USE_PREVIOUS_TIDES may be useful in combination with the scalar approximation to iterate the SAL to convergence (for details, see [8]). With TIDAL_SAL_FROM_FILE or USE_PREVIOUS_TIDES, a list of input files must be provided to describe each constituent's properties from a previous solution. The online SAL calculations that are functions of SSH (rather should be bottom pressure anmoaly), either a scalar approximation or with spherical harmonic transforms, are located in MOM_self_attr_load.

Type Documentation

type, public :: astro_longitudes

The maximum number of tidal constituents that could be used. Simple type to store astronomical longitudes used to calculate tidal phases.

Parameters
  • s

    Mean longitude of moon [rad]

  • h

    Mean longitude of sun [rad]

  • p

    Mean longitude of lunar perigee [rad]

  • N

    Longitude of ascending node [rad]

type, public :: tidal_forcing_CS

The control structure for the MOM_tidal_forcing module

Parameters
  • use_tidal_sal_file

    If true, Read the tidal self-attraction and loading from input files, specified by TIDAL_INPUT_FILE.

  • use_tidal_sal_prev

    If true, use the SAL from the previous iteration of the tides to facilitate convergence.

  • use_eq_phase

    If true, tidal forcing is phase-shifted to match equilibrium tide. Set to false if providing tidal phases that have already been shifted by the astronomical/equilibrium argument.

  • sal_scalar

    The constant of proportionality between self-attraction and loading (SAL) geopotential anomaly and total geopotential geopotential anomalies. This is only used if USE_PREVIOUS_TIDES is true. [nondim].

  • nc

    The number of tidal constituents in use.

  • freq

    The frequency of a tidal constituent [rad T-1 ~> rad s-1].

  • phase0

    The phase of a tidal constituent at time 0 [rad].

  • amp

    The amplitude of a tidal constituent at time 0 [Z ~> m].

  • love_no

    The Love number of a tidal constituent at time 0 [nondim].

  • struct

    An encoded spatial structure for each constituent

  • const_name

    The name of each constituent

  • time_ref

    Reference time (t = 0) used to calculate tidal forcing.

  • tidal_longitudes

    Astronomical longitudes used to calculate tidal phases at t = 0.

  • sin_struct

    The sine based structures that can be associated with the astronomical forcing [nondim].

  • cos_struct

    The cosine based structures that can be associated with the astronomical forcing [nondim].

  • cosphasesal

    The cosine of the phase of the self-attraction and loading amphidromes [nondim].

  • sinphasesal

    The sine of the phase of the self-attraction and loading amphidromes [nondim].

  • ampsal

    The amplitude of the SAL [Z ~> m].

  • cosphase_prev

    The cosine of the phase of the amphidromes in the previous tidal solutions [nondim].

  • sinphase_prev

    The sine of the phase of the amphidromes in the previous tidal solutions [nondim].

  • amp_prev

    The amplitude of the previous tidal solution [Z ~> m].

  • tide_fn

    Amplitude modulation of tides by nodal cycle [nondim].

  • tide_un

    Phase modulation of tides by nodal cycle [rad].

Functions/Subroutine Documentation

subroutine astro_longitudes_init(time_ref, longitudes)

Finds astronomical longitudes s, h, p, and N, the mean longitude of the moon, sun, lunar perigee, and ascending node, respectively, at the specified reference time time_ref. These formulas were obtained from Kowalik and Luick, "Modern Theory and Practice of Tide Analysis and Tidal Power", 2019 (their Equation I.71), which are based on Schureman, 1958. For simplicity, the time associated with time_ref should be at midnight. These formulas also only make sense if the calendar is Gregorian.

Parameters
  • time_ref [in]

    Time to calculate longitudes for.

  • longitudes [out]

    Lunar and solar longitudes at time_ref.

  • D

    Time since the reference date [days]

  • T

    Time in Julian centuries [centuries]

  • PI

    3.14159... [nondim]

Callees call graph
Callees of mom_tidal_forcing::astro_longitudes_init calls cluster_mom_tidal_forcing MOM_tidal_forcing cluster_mom_time_manager MOM_time_manager mom_tidal_forcing::astro_longitudes_init astro_longitudes_init mom_time_manager::time_minus_signed time_minus_signed mom_tidal_forcing::astro_longitudes_init->mom_time_manager::time_minus_signed
Text view
Callers call graph
Callers of mom_tidal_forcing::astro_longitudes_init calls cluster_mom_harmonic_analysis MOM_harmonic_analysis cluster_mom_open_boundary MOM_open_boundary cluster_mom_tidal_forcing MOM_tidal_forcing mom_harmonic_analysis::ha_init HA_init mom_tidal_forcing::astro_longitudes_init astro_longitudes_init mom_harmonic_analysis::ha_init->mom_tidal_forcing::astro_longitudes_init mom_open_boundary::initialize_obc_tides initialize_obc_tides [private/internal] mom_open_boundary::initialize_obc_tides->mom_tidal_forcing::astro_longitudes_init mom_tidal_forcing::tidal_forcing_init tidal_forcing_init mom_tidal_forcing::tidal_forcing_init->mom_tidal_forcing::astro_longitudes_init
Text view

External calls

time_manager_mod
  • set_date (time_manager_mod::set_date)

function eq_phase(constit, longitudes)

Calculates the equilibrium phase argument for the given tidal constituent constit and the astronomical longitudes and the reference time. These formulas follow Table I.4 of Kowalik and Luick, "Modern Theory and Practice of Tide Analysis and Tidal Power", 2019.

Parameters
  • constit [in]

    Name of constituent (e.g., M2).

  • longitudes [in]

    Mean longitudes calculated using astro_longitudes_init

  • PI

    3.14159... [nondim]

  • eq_phase

    The equilibrium phase argument for the constituent [rad].

Callees call graph
Callees of mom_tidal_forcing::eq_phase calls cluster_mom_error_handler MOM_error_handler cluster_mom_tidal_forcing MOM_tidal_forcing mom_error_handler::mom_error MOM_error mom_tidal_forcing::eq_phase eq_phase mom_tidal_forcing::eq_phase->mom_error_handler::mom_error
Text view
Callers call graph
Callers of mom_tidal_forcing::eq_phase calls cluster_mom_harmonic_analysis MOM_harmonic_analysis cluster_mom_open_boundary MOM_open_boundary cluster_mom_tidal_forcing MOM_tidal_forcing mom_harmonic_analysis::ha_init HA_init mom_tidal_forcing::eq_phase eq_phase mom_harmonic_analysis::ha_init->mom_tidal_forcing::eq_phase mom_open_boundary::initialize_obc_tides initialize_obc_tides [private/internal] mom_open_boundary::initialize_obc_tides->mom_tidal_forcing::eq_phase mom_tidal_forcing::tidal_forcing_init tidal_forcing_init mom_tidal_forcing::tidal_forcing_init->mom_tidal_forcing::eq_phase
Text view
function tidal_frequency(constit)

Looks up angular frequencies for the main tidal constituents. Values used here are from previous versions of MOM.

Parameters
  • constit [in]

    Constituent to look up

  • tidal_frequency

    Angular frequency [rad s-1]

Callees call graph
Callees of mom_tidal_forcing::tidal_frequency calls cluster_mom_error_handler MOM_error_handler cluster_mom_tidal_forcing MOM_tidal_forcing mom_error_handler::mom_error MOM_error mom_tidal_forcing::tidal_frequency tidal_frequency mom_tidal_forcing::tidal_frequency->mom_error_handler::mom_error
Text view
Callers call graph
Callers of mom_tidal_forcing::tidal_frequency calls cluster_mom_harmonic_analysis MOM_harmonic_analysis cluster_mom_open_boundary MOM_open_boundary cluster_mom_streaming_filter MOM_streaming_filter cluster_mom_tidal_forcing MOM_tidal_forcing mom_harmonic_analysis::ha_init HA_init mom_tidal_forcing::tidal_frequency tidal_frequency mom_harmonic_analysis::ha_init->mom_tidal_forcing::tidal_frequency mom_open_boundary::initialize_obc_tides initialize_obc_tides [private/internal] mom_open_boundary::initialize_obc_tides->mom_tidal_forcing::tidal_frequency mom_streaming_filter::filt_init Filt_init mom_streaming_filter::filt_init->mom_tidal_forcing::tidal_frequency mom_tidal_forcing::tidal_forcing_init tidal_forcing_init mom_tidal_forcing::tidal_forcing_init->mom_tidal_forcing::tidal_frequency
Text view
subroutine nodal_fu(constit, nodelon, fn, un)

Find amplitude (f) and phase (u) modulation of tidal constituents by the 18.6 year nodal cycle. Values here follow Table I.6 in Kowalik and Luick, "Modern Theory and Practice of Tide Analysis and Tidal Power", 2019.

Parameters
  • constit [in]

    Tidal constituent to find modulation for.

  • nodelon [in]

    Longitude of ascending node [rad], which can be calculated using astro_longitudes_init.

  • fn [out]

    Amplitude modulation [nondim]

  • un [out]

    Phase modulation [rad]

  • RADIANS

    Converts degrees to radians [nondim]

Callees call graph
Callees of mom_tidal_forcing::nodal_fu calls cluster_mom_error_handler MOM_error_handler cluster_mom_tidal_forcing MOM_tidal_forcing mom_error_handler::mom_error MOM_error mom_tidal_forcing::nodal_fu nodal_fu mom_tidal_forcing::nodal_fu->mom_error_handler::mom_error
Text view
Callers call graph
Callers of mom_tidal_forcing::nodal_fu calls cluster_mom_harmonic_analysis MOM_harmonic_analysis cluster_mom_open_boundary MOM_open_boundary cluster_mom_tidal_forcing MOM_tidal_forcing mom_harmonic_analysis::ha_init HA_init mom_tidal_forcing::nodal_fu nodal_fu mom_harmonic_analysis::ha_init->mom_tidal_forcing::nodal_fu mom_open_boundary::initialize_obc_tides initialize_obc_tides [private/internal] mom_open_boundary::initialize_obc_tides->mom_tidal_forcing::nodal_fu mom_tidal_forcing::tidal_forcing_init tidal_forcing_init mom_tidal_forcing::tidal_forcing_init->mom_tidal_forcing::nodal_fu
Text view
subroutine tidal_forcing_init(Time, G, US, param_file, CS)

This subroutine allocates space for the static variables used by this module. The metrics may be effectively 0, 1, or 2-D arrays, while fields like the background viscosities are 2-D arrays. ALLOC is a macro defined in MOM_memory.h for allocate or nothing with static memory.

Parameters
  • Time [in]

    The current model time.

  • G [inout]

    The ocean's grid structure.

  • US [in]

    A dimensional unit scaling type

  • param_file [in]

    A structure to parse for run-time parameters.

  • CS [inout]

    Tidal forcing control structure

  • tide_ref_date

    Reference date (t = 0) for tidal forcing.

  • nodal_ref_date

    Reference date for calculating nodal modulation for tidal forcing.

  • add_nodal_terms

    If true, insert terms for the 18.6 year modulation when calculating tidal forcing.

  • nodal_time

    Model time to calculate nodal modulation for.

  • nodal_longitudes

    Solar and lunar longitudes for tidal forcing

Callees call graph
Callees of mom_tidal_forcing::tidal_forcing_init calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_tidal_forcing MOM_tidal_forcing mom_cpu_clock_infra::cpu_clock_id cpu_clock_id mom_domain_infra::interface::pass_var pass_var (interface) mom_error_handler::mom_error MOM_error mom_error_handler::mom_mesg MOM_mesg mom_file_parser::interface::get_param get_param (interface) mom_file_parser::interface::log_version log_version (interface) mom_tidal_forcing::astro_longitudes_init astro_longitudes_init mom_tidal_forcing::eq_phase eq_phase mom_tidal_forcing::find_in_files find_in_files [private/internal] mom_tidal_forcing::nodal_fu nodal_fu mom_tidal_forcing::tidal_forcing_init tidal_forcing_init mom_tidal_forcing::tidal_forcing_init->mom_cpu_clock_infra::cpu_clock_id mom_tidal_forcing::tidal_forcing_init->mom_domain_infra::interface::pass_var mom_tidal_forcing::tidal_forcing_init->mom_error_handler::mom_error mom_tidal_forcing::tidal_forcing_init->mom_error_handler::mom_mesg mom_tidal_forcing::tidal_forcing_init->mom_file_parser::interface::get_param mom_tidal_forcing::tidal_forcing_init->mom_file_parser::interface::log_version mom_tidal_forcing::tidal_forcing_init->mom_tidal_forcing::astro_longitudes_init mom_tidal_forcing::tidal_forcing_init->mom_tidal_forcing::eq_phase mom_tidal_forcing::tidal_forcing_init->mom_tidal_forcing::find_in_files mom_tidal_forcing::tidal_forcing_init->mom_tidal_forcing::nodal_fu mom_tidal_forcing::tidal_frequency tidal_frequency mom_tidal_forcing::tidal_forcing_init->mom_tidal_forcing::tidal_frequency
Text view
Callers call graph
Callers of mom_tidal_forcing::tidal_forcing_init calls cluster_mom_dynamics_split_rk2 MOM_dynamics_split_RK2 cluster_mom_dynamics_split_rk2b MOM_dynamics_split_RK2b cluster_mom_dynamics_unsplit MOM_dynamics_unsplit cluster_mom_dynamics_unsplit_rk2 MOM_dynamics_unsplit_RK2 cluster_mom_tidal_forcing MOM_tidal_forcing mom_dynamics_split_rk2::initialize_dyn_split_rk2 initialize_dyn_split_RK2 mom_tidal_forcing::tidal_forcing_init tidal_forcing_init mom_dynamics_split_rk2::initialize_dyn_split_rk2->mom_tidal_forcing::tidal_forcing_init mom_dynamics_split_rk2b::initialize_dyn_split_rk2b initialize_dyn_split_RK2b mom_dynamics_split_rk2b::initialize_dyn_split_rk2b->mom_tidal_forcing::tidal_forcing_init mom_dynamics_unsplit::initialize_dyn_unsplit initialize_dyn_unsplit mom_dynamics_unsplit::initialize_dyn_unsplit->mom_tidal_forcing::tidal_forcing_init mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2 initialize_dyn_unsplit_RK2 mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2->mom_tidal_forcing::tidal_forcing_init
Text view

External calls

time_manager_mod
  • set_date (time_manager_mod::set_date)

subroutine find_in_files(filenames, varname, array, G, scale)

This subroutine finds a named variable in a list of files and reads its values into a domain-decomposed 2-d array

Parameters
  • filenames [in]

    The names of the files to search for the named variable

  • varname [in]

    The name of the variable to read

  • G [in]

    The ocean's grid structure

  • array [out]

    The array to fill with the data [arbitrary]

  • scale [in]

    A factor by which to rescale the array to translate it into its desired units [arbitrary]

Callees call graph
Callees of mom_tidal_forcing::find_in_files calls cluster_mom_error_handler MOM_error_handler cluster_mom_io MOM_io cluster_mom_io_infra MOM_io_infra cluster_mom_tidal_forcing MOM_tidal_forcing mom_error_handler::mom_error MOM_error mom_io::interface::mom_read_data MOM_read_data (interface) mom_io_infra::field_exists field_exists mom_io_infra::interface::file_exists file_exists (interface) mom_tidal_forcing::find_in_files find_in_files [private/internal] mom_tidal_forcing::find_in_files->mom_error_handler::mom_error mom_tidal_forcing::find_in_files->mom_io::interface::mom_read_data mom_tidal_forcing::find_in_files->mom_io_infra::field_exists mom_tidal_forcing::find_in_files->mom_io_infra::interface::file_exists
Text view
Callers call graph
Callers of mom_tidal_forcing::find_in_files calls cluster_mom_tidal_forcing MOM_tidal_forcing mom_tidal_forcing::find_in_files find_in_files [private/internal] mom_tidal_forcing::tidal_forcing_init tidal_forcing_init mom_tidal_forcing::tidal_forcing_init->mom_tidal_forcing::find_in_files
Text view
subroutine calc_tidal_forcing(Time, e_tide_eq, e_tide_sal, G, US, CS)

This subroutine calculates the geopotential anomalies that drive the tides, including tidal self-attraction and loading from previous solutions.

Parameters
  • G [in]

    The ocean's grid structure.

  • Time [in]

    The time for the caluculation.

  • e_tide_eq [out]

    The geopotential height anomalies due to the equilibrium tides [Z ~> m].

  • e_tide_sal [out]

    The geopotential height anomalies due to the tidal SAL [Z ~> m].

  • US [in]

    A dimensional unit scaling type

  • CS [in]

    The control structure returned by a previous call to tidal_forcing_init.

Callees call graph
Callees of mom_tidal_forcing::calc_tidal_forcing calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_tidal_forcing MOM_tidal_forcing cluster_mom_time_manager MOM_time_manager mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_tidal_forcing::calc_tidal_forcing calc_tidal_forcing mom_tidal_forcing::calc_tidal_forcing->mom_cpu_clock_infra::cpu_clock_begin mom_tidal_forcing::calc_tidal_forcing->mom_cpu_clock_infra::cpu_clock_end mom_time_manager::time_minus_signed time_minus_signed mom_tidal_forcing::calc_tidal_forcing->mom_time_manager::time_minus_signed
Text view
Callers call graph
Callers of mom_tidal_forcing::calc_tidal_forcing calls cluster_mom_pressureforce_fv MOM_PressureForce_FV cluster_mom_pressureforce_mont MOM_PressureForce_Mont cluster_mom_tidal_forcing MOM_tidal_forcing mom_pressureforce_fv::pressureforce_fv_bouss PressureForce_FV_Bouss mom_tidal_forcing::calc_tidal_forcing calc_tidal_forcing mom_pressureforce_fv::pressureforce_fv_bouss->mom_tidal_forcing::calc_tidal_forcing mom_pressureforce_fv::pressureforce_fv_nonbouss PressureForce_FV_nonBouss mom_pressureforce_fv::pressureforce_fv_nonbouss->mom_tidal_forcing::calc_tidal_forcing mom_pressureforce_mont::pressureforce_mont_bouss PressureForce_Mont_Bouss mom_pressureforce_mont::pressureforce_mont_bouss->mom_tidal_forcing::calc_tidal_forcing mom_pressureforce_mont::pressureforce_mont_nonbouss PressureForce_Mont_nonBouss mom_pressureforce_mont::pressureforce_mont_nonbouss->mom_tidal_forcing::calc_tidal_forcing
Text view
subroutine calc_tidal_forcing_legacy(Time, e_sal, e_sal_tide, e_tide_eq, e_tide_sal, G, US, CS)

This subroutine functions the same as calc_tidal_forcing but outputs a field that combines previously calculated self-attraction and loading (SAL) and tidal forcings, so that old answers can be preserved bitwise before SAL is separated out as an individual module.

Parameters
  • G [in]

    The ocean's grid structure.

  • Time [in]

    The time for the caluculation.

  • e_sal [in]

    The self-attraction and loading fields calculated previously used to initialized e_sal_tide [Z ~> m].

  • e_sal_tide [out]

    The total geopotential height anomalies due to both SAL and tidal forcings [Z ~> m].

  • e_tide_eq [out]

    The geopotential height anomalies due to the equilibrium tides [Z ~> m].

  • e_tide_sal [out]

    The geopotential height anomalies due to the tidal SAL [Z ~> m].

  • US [in]

    A dimensional unit scaling type

  • CS [in]

    The control structure returned by a previous call to tidal_forcing_init.

Callees call graph
Callees of mom_tidal_forcing::calc_tidal_forcing_legacy calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_tidal_forcing MOM_tidal_forcing cluster_mom_time_manager MOM_time_manager mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_tidal_forcing::calc_tidal_forcing_legacy calc_tidal_forcing_legacy mom_tidal_forcing::calc_tidal_forcing_legacy->mom_cpu_clock_infra::cpu_clock_begin mom_tidal_forcing::calc_tidal_forcing_legacy->mom_cpu_clock_infra::cpu_clock_end mom_time_manager::time_minus_signed time_minus_signed mom_tidal_forcing::calc_tidal_forcing_legacy->mom_time_manager::time_minus_signed
Text view
Callers call graph
Callers of mom_tidal_forcing::calc_tidal_forcing_legacy calls cluster_mom_pressureforce_fv MOM_PressureForce_FV cluster_mom_tidal_forcing MOM_tidal_forcing mom_pressureforce_fv::pressureforce_fv_bouss PressureForce_FV_Bouss mom_tidal_forcing::calc_tidal_forcing_legacy calc_tidal_forcing_legacy mom_pressureforce_fv::pressureforce_fv_bouss->mom_tidal_forcing::calc_tidal_forcing_legacy mom_pressureforce_fv::pressureforce_fv_nonbouss PressureForce_FV_nonBouss mom_pressureforce_fv::pressureforce_fv_nonbouss->mom_tidal_forcing::calc_tidal_forcing_legacy
Text view
subroutine tidal_forcing_end(CS)

This subroutine deallocates memory associated with the tidal forcing module.

Parameters
  • CS [inout]

    The control structure returned by a previous call to tidal_forcing_init; it is deallocated here.

Callers call graph
Callers of mom_tidal_forcing::tidal_forcing_end calls cluster_mom_dynamics_split_rk2 MOM_dynamics_split_RK2 cluster_mom_dynamics_split_rk2b MOM_dynamics_split_RK2b cluster_mom_dynamics_unsplit MOM_dynamics_unsplit cluster_mom_dynamics_unsplit_rk2 MOM_dynamics_unsplit_RK2 cluster_mom_tidal_forcing MOM_tidal_forcing mom_dynamics_split_rk2::end_dyn_split_rk2 end_dyn_split_RK2 mom_tidal_forcing::tidal_forcing_end tidal_forcing_end mom_dynamics_split_rk2::end_dyn_split_rk2->mom_tidal_forcing::tidal_forcing_end mom_dynamics_split_rk2b::end_dyn_split_rk2b end_dyn_split_RK2b mom_dynamics_split_rk2b::end_dyn_split_rk2b->mom_tidal_forcing::tidal_forcing_end mom_dynamics_unsplit::end_dyn_unsplit end_dyn_unsplit mom_dynamics_unsplit::end_dyn_unsplit->mom_tidal_forcing::tidal_forcing_end mom_dynamics_unsplit_rk2::end_dyn_unsplit_rk2 end_dyn_unsplit_RK2 mom_dynamics_unsplit_rk2::end_dyn_unsplit_rk2->mom_tidal_forcing::tidal_forcing_end
Text view
API generated with Flint · Rendered from reStructuredText