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

Go to the source code of this file.

Data Types

type  user_tracer_example::user_tracer_example_cs
 The control structure for the USER_tracer_example module. More...
 

Modules

module  user_tracer_example
 A sample tracer package that has striped initial conditions.
 

Functions/Subroutines

logical function, public user_tracer_example::user_register_tracer_example (HI, GV, param_file, CS, tr_Reg, restart_CS)
 This subroutine is used to register tracer fields and subroutines to be used with MOM. More...
 
subroutine, public user_tracer_example::user_initialize_tracer (restart, day, G, GV, h, diag, OBC, CS, sponge_CSp)
 This subroutine initializes the NTR tracer fields in tr(:,:,:,:) and it sets up the tracer output. More...
 
subroutine, public user_tracer_example::tracer_column_physics (h_old, h_new, ea, eb, fluxes, dt, G, GV, US, CS)
 This subroutine applies diapycnal diffusion and any other column tracer physics or chemistry to the tracers from this file. This is a simple example of a set of advected passive tracers. The arguments to this subroutine are redundant in that h_new(k) = h_old(k) + ea(k) - eb(k-1) + eb(k) - ea(k+1) More...
 
integer function, public user_tracer_example::user_tracer_stock (h, stocks, G, GV, CS, names, units, stock_index)
 This function calculates the mass-weighted integral of all tracer stocks, returning the number of stocks it has calculated. If the stock_index is present, only the stock corresponding to that coded index is returned. More...
 
subroutine, public user_tracer_example::user_tracer_surface_state (state, h, G, CS)
 This subroutine extracts the surface fields from this tracer package that are to be shared with the atmosphere in coupled configurations. More...
 
subroutine, public user_tracer_example::user_tracer_example_end (CS)
 Clean up allocated memory at the end. More...
 

Variables

integer, parameter user_tracer_example::ntr = 1
 The number of tracers in this module. More...