32 |
|
|
33 |
implicit none |
implicit none |
34 |
|
|
35 |
|
c == global variables == |
36 |
|
#include "EEPARAMS.h" |
37 |
|
#include "SIZE.h" |
38 |
|
#include "PARAMS.h" |
39 |
|
#include "GRID.h" |
40 |
|
|
41 |
|
#include "exf_fields.h" |
42 |
|
#if (defined (ALLOW_ADJOINT_RUN) || \ |
43 |
|
defined (ALLOW_TANGENTLINEAR_RUN) || \ |
44 |
|
defined (ALLOW_ECCO_OPTIMIZATION)) |
45 |
|
# include "ctrl.h" |
46 |
|
# include "ctrl_dummy.h" |
47 |
|
#endif |
48 |
|
|
49 |
c == routine arguments == |
c == routine arguments == |
50 |
|
|
51 |
_RL mytime |
_RL mytime |
57 |
c == end of interface == |
c == end of interface == |
58 |
|
|
59 |
#ifdef ALLOW_HFLUX_CONTROL |
#ifdef ALLOW_HFLUX_CONTROL |
60 |
call ctrl_getheatflux ( mytime, myiter, mythid ) |
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 |
#endif |
#endif |
65 |
|
|
66 |
#ifdef ALLOW_SFLUX_CONTROL |
#ifdef ALLOW_SFLUX_CONTROL |
67 |
call ctrl_getsaltflux ( mytime, myiter, mythid ) |
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 |
#endif |
#endif |
72 |
|
|
73 |
#ifdef ALLOW_USTRESS_CONTROL |
#ifdef ALLOW_USTRESS_CONTROL |
74 |
call ctrl_getzonstress ( mytime, myiter, mythid ) |
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 |
#endif |
#endif |
79 |
|
|
80 |
#ifdef ALLOW_VSTRESS_CONTROL |
#ifdef ALLOW_VSTRESS_CONTROL |
81 |
call ctrl_getmerstress ( mytime, myiter, mythid ) |
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 |
#endif |
#endif |
86 |
|
|
87 |
#ifdef ALLOW_SWFLUX_CONTROL |
#ifdef ALLOW_SWFLUX_CONTROL |
88 |
call ctrl_getswflux ( mytime, myiter, mythid ) |
call ctrl_get_gen ( |
89 |
|
NOT YET IMPLEMENTED |
90 |
|
& mytime, myiter, mythid ) |
91 |
#endif |
#endif |
92 |
|
|
93 |
#ifdef ALLOW_LWFLUX_CONTROL |
#ifdef ALLOW_LWFLUX_CONTROL |
94 |
call ctrl_getlwflux ( mytime, myiter, mythid ) |
call ctrl_get_gen ( |
95 |
|
NOT YET IMPLEMENTED |
96 |
|
& mytime, myiter, mythid ) |
97 |
#endif |
#endif |
98 |
|
|
99 |
end |
end |