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

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

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


Revision 1.9 - (hide annotations) (download)
Wed Apr 27 14:10:06 2005 UTC (19 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57m_post, checkpoint57i_post, checkpoint57l_post, checkpoint57h_pre, checkpoint57h_post, checkpoint57h_done, checkpoint57j_post, checkpoint57k_post
Changes since 1.8: +1 -2 lines
include ${PKG}_OPTIONS.h (if it exists) instead of PACKAGES_CONFIG.h + CPP_OPTIONS.h

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

  ViewVC Help
Powered by ViewVC 1.1.22