/[MITgcm]/MITgcm/pkg/exf/exf_getsurfacefluxes.F
ViewVC logotype

Contents of /MITgcm/pkg/exf/exf_getsurfacefluxes.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download)
Thu Oct 23 04:41:40 2003 UTC (20 years, 7 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51o_pre, checkpoint51t_post, checkpoint51n_post, checkpoint51s_post, checkpoint51n_pre, checkpoint51q_post, checkpoint51r_post, checkpoint51o_post, checkpoint51p_post
Branch point for: branch-nonh, checkpoint51n_branch
Changes since 1.6: +4 -1 lines
 o added the [#include "AD_CONFIG.h"] statement to all files that need
   it for adjoint/tl #defines
 o re-worked the build logic in genmake2 to support AD_CONFIG.h
 o removed tools/genmake since it no longer works

1 C
2 C $Header: $
3 C $Name: $
4
5 #include "AD_CONFIG.h"
6 #include "EXF_OPTIONS.h"
7
8 subroutine exf_GetSurfaceFluxes(
9 I mytime,
10 I myiter,
11 I mythid
12 & )
13
14 c ==================================================================
15 c SUBROUTINE exf_GetSurfaceFluxes
16 c ==================================================================
17 c
18 c o Mid-level routine for enabling the use of flux fields as control
19 c variables.
20 c
21 c started: Christian Eckert eckert@mit.edu 30-Jun-1999
22 c
23 c changed: Christian Eckert eckert@mit.edu 14-Jan-2000
24 c - Restructured the code in order to create a package
25 c for the MITgcmUV.
26 c
27 c Christian Eckert eckert@mit.edu 12-Feb-2000
28 c - Changed Routine names (package prefix: exf_)
29 c
30 c mods for pkg/seaice: menemenlis@jpl.nasa.gov 20-Dec-2002
31 c
32 c ==================================================================
33 c SUBROUTINE exf_GetSurfaceFluxes
34 c ==================================================================
35
36 implicit none
37
38 c == global variables ==
39 #include "EEPARAMS.h"
40 #include "SIZE.h"
41 #include "PARAMS.h"
42 #include "GRID.h"
43
44 #include "exf_fields.h"
45 #if (defined (ALLOW_ADJOINT_RUN) || \
46 defined (ALLOW_TANGENTLINEAR_RUN) || \
47 defined (ALLOW_ECCO_OPTIMIZATION))
48 # include "ctrl.h"
49 # include "ctrl_dummy.h"
50 #endif
51
52 c == routine arguments ==
53
54 _RL mytime
55 integer myiter
56 integer mythid
57
58 c == global variables ==
59
60 c == end of interface ==
61
62 #ifdef ALLOW_HFLUX_CONTROL
63 call ctrl_get_gen (
64 & xx_hflux_file, xx_hfluxstartdate, xx_hfluxperiod,
65 & maskc, hflux, xx_hflux0, xx_hflux1, xx_hflux_dummy,
66 & mytime, myiter, mythid )
67 #endif
68
69 #ifdef ALLOW_SFLUX_CONTROL
70 call ctrl_get_gen (
71 & xx_sflux_file, xx_sfluxstartdate, xx_sfluxperiod,
72 & maskc, sflux, xx_sflux0, xx_sflux1, xx_sflux_dummy,
73 & mytime, myiter, mythid )
74 #endif
75
76 #ifdef ALLOW_USTRESS_CONTROL
77 call ctrl_get_gen (
78 & xx_tauu_file, xx_tauustartdate, xx_tauuperiod,
79 & maskw, ustress, xx_tauu0, xx_tauu1, xx_tauu_dummy,
80 & mytime, myiter, mythid )
81 #endif
82
83 #ifdef ALLOW_VSTRESS_CONTROL
84 call ctrl_get_gen (
85 & xx_tauv_file, xx_tauvstartdate, xx_tauvperiod,
86 & masks, vstress, xx_tauv0, xx_tauv1, xx_tauv_dummy,
87 & mytime, myiter, mythid )
88 #endif
89
90 #ifdef ALLOW_SWFLUX_CONTROL
91 call ctrl_get_gen (
92 NOT YET IMPLEMENTED
93 & mytime, myiter, mythid )
94 #endif
95
96 #ifdef ALLOW_LWFLUX_CONTROL
97 call ctrl_get_gen (
98 NOT YET IMPLEMENTED
99 & mytime, myiter, mythid )
100 #endif
101
102 end

  ViewVC Help
Powered by ViewVC 1.1.22