dumbbell_surface_forcing module reference
Surface forcing for the dumbbell test case
Data Types
Control structure for the dumbbell test case forcing |
Functions/Subroutines
Surface buoyancy (heat and fresh water) fluxes for the dumbbell test case |
|
Dynamic forcing for the dumbbell test case |
|
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
Callers call graph
- 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
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