MOM6
user_revise_forcing Module Reference

Data Types

type  user_revise_forcing_cs
 

Functions/Subroutines

subroutine, public user_alter_forcing (state, fluxes, day, G, CS)
 This subroutine sets the surface wind stresses. More...
 
subroutine, public user_revise_forcing_init (param_file, CS)
 

Function/Subroutine Documentation

◆ user_alter_forcing()

subroutine, public user_revise_forcing::user_alter_forcing ( type(surface), intent(in)  state,
type(forcing), intent(inout)  fluxes,
type(time_type), intent(in)  day,
type(ocean_grid_type), intent(in)  G,
type(user_revise_forcing_cs), pointer  CS 
)

This subroutine sets the surface wind stresses.

Parameters
[in]stateA structure containing fields that describe the surface state of the ocean.
[in,out]fluxesA structure containing pointers to any possible forcing fields. Unused fields have NULL ptrs.
[in]dayTime of the fluxes.
[in]gThe ocean's grid structure.
csA pointer to the control structure returned by a previous call to surface_forcing_init.

Definition at line 53 of file user_revise_forcing.F90.

53  type(surface), intent(in) :: state !< A structure containing fields that
54  !! describe the surface state of the ocean.
55  type(forcing), intent(inout) :: fluxes !< A structure containing pointers to any
56  !! possible forcing fields. Unused fields
57  !! have NULL ptrs.
58  type(time_type), intent(in) :: day !< Time of the fluxes.
59  type(ocean_grid_type), intent(in) :: g !< The ocean's grid structure.
60  type(user_revise_forcing_cs), pointer :: cs !< A pointer to the control structure
61  !! returned by a previous call to
62  !! surface_forcing_init.
63 
Ocean grid type. See mom_grid for details.
Definition: MOM_grid.F90:19

◆ user_revise_forcing_init()

subroutine, public user_revise_forcing::user_revise_forcing_init ( type(param_file_type), intent(in)  param_file,
type(user_revise_forcing_cs), pointer  CS 
)
Parameters
[in]param_file!< A structure indicating the open file to parse for model parameter values.
csA pointer to the control structure returned by a previous call to surface_forcing_init.

Definition at line 67 of file user_revise_forcing.F90.

67  type(param_file_type), intent(in) :: param_file !< !< A structure indicating the open file to
68  !! parse for model parameter values.
69  type(user_revise_forcing_cs), pointer :: cs !< A pointer to the control structure
70  !! returned by a previous call to
71  !! surface_forcing_init.
72 
73 ! This include declares and sets the variable "version".
74 #include "version_variable.h"
75  character(len=40) :: mdl = "user_revise_forcing" ! This module's name.
76 
77  call log_version(param_file, mdl, version)
78