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

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

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

revision 1.3 by heimbach, Tue Nov 12 20:34:41 2002 UTC revision 1.11 by heimbach, Thu Mar 2 02:53:22 2006 UTC
# Line 1  Line 1 
1  c $Header$  C
2    C $Header$
3    C $Name$
4    
5  #include "EXF_CPPOPTIONS.h"  #include "EXF_OPTIONS.h"
6    
7        subroutine exf_GetSurfaceFluxes(        subroutine exf_GetSurfaceFluxes(
8       I                                 mytime,       I                                 mytime,
# Line 18  c Line 20  c
20  c     started: Christian Eckert eckert@mit.edu  30-Jun-1999  c     started: Christian Eckert eckert@mit.edu  30-Jun-1999
21  c  c
22  c     changed: Christian Eckert eckert@mit.edu  14-Jan-2000  c     changed: Christian Eckert eckert@mit.edu  14-Jan-2000
 c  
23  c              - Restructured the code in order to create a package  c              - Restructured the code in order to create a package
24  c                for the MITgcmUV.  c                for the MITgcmUV.
25  c  c
26  c              Christian Eckert eckert@mit.edu  12-Feb-2000  c              Christian Eckert eckert@mit.edu  12-Feb-2000
 c  
27  c              - Changed Routine names (package prefix: exf_)  c              - Changed Routine names (package prefix: exf_)
28  c  c
29    c     mods for pkg/seaice: menemenlis@jpl.nasa.gov 20-Dec-2002
30    c
31  c     ==================================================================  c     ==================================================================
32  c     SUBROUTINE exf_GetSurfaceFluxes  c     SUBROUTINE exf_GetSurfaceFluxes
33  c     ==================================================================  c     ==================================================================
34    
35        implicit none        implicit none
36    
37    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    #ifdef ALLOW_AUTODIFF
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
# Line 43  c     == global variables == Line 57  c     == global variables ==
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         &     xx_hflux_remo_intercept, xx_hflux_remo_slope,
64         &     mytime, myiter, mythid )
65  #endif  #endif
66    
67  #ifdef ALLOW_SFLUX_CONTROL  #ifdef ALLOW_SFLUX_CONTROL
68        call ctrl_getsaltflux ( mytime, myiter, mythid )        call ctrl_get_gen (
69         &     xx_sflux_file, xx_sfluxstartdate, xx_sfluxperiod,
70         &     maskc, sflux, xx_sflux0, xx_sflux1, xx_sflux_dummy,
71         &     xx_sflux_remo_intercept, xx_sflux_remo_slope,
72         &     mytime, myiter, mythid )
73  #endif  #endif
74    
75  #ifdef ALLOW_USTRESS_CONTROL  #ifdef ALLOW_USTRESS_CONTROL
76        call ctrl_getzonstress ( mytime, myiter, mythid )        call ctrl_get_gen (
77         &     xx_tauu_file, xx_tauustartdate, xx_tauuperiod,
78         &     maskw, ustress, xx_tauu0, xx_tauu1, xx_tauu_dummy,
79         &     xx_tauu_remo_intercept, xx_tauu_remo_slope,
80         &     mytime, myiter, mythid )
81  #endif  #endif
82    
83  #ifdef ALLOW_VSTRESS_CONTROL  #ifdef ALLOW_VSTRESS_CONTROL
84        call ctrl_getmerstress ( mytime, myiter, mythid )        call ctrl_get_gen (
85  #endif       &     xx_tauv_file, xx_tauvstartdate, xx_tauvperiod,
86         &     masks, vstress, xx_tauv0, xx_tauv1, xx_tauv_dummy,
87  #ifdef ALLOW_SWFLUX_CONTROL       &     xx_tauv_remo_intercept, xx_tauv_remo_slope,
88        call ctrl_getswflux ( mytime, myiter, mythid )       &     mytime, myiter, mythid )
 #endif  
   
 #ifdef ALLOW_LWFLUX_CONTROL  
       call ctrl_getlwflux ( mytime, myiter, mythid )  
 #endif  
   
 #ifdef ALLOW_CONTROL_NEW  
 c     Get the surface forcing control fields.  
       call exfa_GetFFields( mytime, myiter, mythid )  
89  #endif  #endif
90    
91        end        end
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22