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

Go to the source code of this file.

Data Types

type  user_change_diffusivity::user_change_diff_cs
 Control structure for user_change_diffusivity. More...
 

Modules

module  user_change_diffusivity
 Increments the diapycnal diffusivity in a specified band of latitudes and densities.
 

Functions/Subroutines

subroutine, public user_change_diffusivity::user_change_diff (h, tv, G, GV, CS, Kd_lay, Kd_int, T_f, S_f, Kd_int_add)
 This subroutine provides an interface for a user to use to modify the main code to alter the diffusivities as needed. The specific example implemented here augments the diffusivity for a specified range of latitude and coordinate potential density. More...
 
logical function user_change_diffusivity::range_ok (range)
 This subroutine checks whether the 4 values of range are in ascending order. More...
 
real function user_change_diffusivity::val_weights (val, range)
 This subroutine returns a value that goes smoothly from 0 to 1, stays at 1, and then goes smoothly back to 0 at the four values of range. The transitions are cubic, and have zero first derivatives where the curves hit 0 and 1. The values in range must be in ascending order, as can be checked by calling range_OK. More...
 
subroutine, public user_change_diffusivity::user_change_diff_init (Time, G, GV, US, param_file, diag, CS)
 Set up the module control structure. More...
 
subroutine, public user_change_diffusivity::user_change_diff_end (CS)
 Clean up the module control structure. More...