MOM6
MOM_sponge.F90 File Reference
#include <MOM_memory.h>
#include "version_variable.h"
Include dependency graph for MOM_sponge.F90:

Go to the source code of this file.

Data Types

type  mom_sponge::p3d
 A structure for creating arrays of pointers to 3D arrays. More...
 
type  mom_sponge::p2d
 A structure for creating arrays of pointers to 2D arrays. More...
 
type  mom_sponge::sponge_cs
 This control structure holds memory and parameters for the MOM_sponge module. More...
 

Modules

module  mom_sponge
 Implements sponge regions in isopycnal mode.
 

Functions/Subroutines

subroutine, public mom_sponge::initialize_sponge (Iresttime, int_height, G, param_file, CS, GV, Iresttime_i_mean, int_height_i_mean)
 This subroutine determines the number of points which are within sponges in this computational domain. Only points that have positive values of Iresttime and which mask2dT indicates are ocean points are included in the sponges. It also stores the target interface heights. More...
 
subroutine, public mom_sponge::init_sponge_diags (Time, G, GV, US, diag, CS)
 This subroutine sets up diagnostics for the sponges. It is separate from initialize_sponge because it requires fields that are not readily available where initialize_sponge is called. More...
 
subroutine, public mom_sponge::set_up_sponge_field (sp_val, f_ptr, G, nlay, CS, sp_val_i_mean)
 This subroutine stores the reference profile for the variable whose address is given by f_ptr. nlay is the number of layers in this variable. More...
 
subroutine, public mom_sponge::set_up_sponge_ml_density (sp_val, G, CS, sp_val_i_mean)
 This subroutine stores the reference value for mixed layer density. It is handled differently from other values because it is only used in determining which layers can be inflated. More...
 
subroutine, public mom_sponge::apply_sponge (h, dt, G, GV, US, ea, eb, CS, Rcv_ml)
 This subroutine applies damping to the layers thicknesses, mixed layer buoyancy, and a variety of tracers for every column where there is damping. More...
 
subroutine, public mom_sponge::sponge_end (CS)
 This call deallocates any memory in the sponge control structure. More...