/[MITgcm]/MITgcm/model/src/packages_init_variables.F
ViewVC logotype

Diff of /MITgcm/model/src/packages_init_variables.F

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

revision 1.12 by heimbach, Thu May 30 22:49:56 2002 UTC revision 1.28 by jmc, Sun Nov 23 01:28:05 2003 UTC
# Line 1  Line 1 
1    C $Header$
2    C $Name$
3    
4    #include "PACKAGES_CONFIG.h"
5  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
6    
7  CBOP  CBOP
# Line 21  C       | Line 24  C       |
24  C       |-- KPP_INIT  C       |-- KPP_INIT
25  C       |-- KPP_OPEN_DIAGS  C       |-- KPP_OPEN_DIAGS
26  C       |  C       |
27    C       |-- SEAICE_INIT
28    C       |
29  C       |-- OBCS_INIT_VARIABLES  C       |-- OBCS_INIT_VARIABLES
30  C       |  C       |
31  C       |-- AIM_INIT  C       |-- PTRACERS_INIT
32    C       |
33    C       |-- LAND_INI_VARS
34  C       |  C       |
35  C       |-- CTRL_MAP_INI  C       |-- CTRL_MAP_INI
36  C       |  C       |
37  C       |-- COST_INIT  C       |-- EXF_INIT
38    C       |
39    C       |-- INI_FORCING
40  C       |  C       |
41  C       |-- ECCO_INIT  C       |-- ECCO_INIT
42  C       |  C       |
43  C       |-- INI_FORCING  C       |-- COST_INIT
44    C       |
45    C       |-- BULKF_INIT
46    C       |
47    C       |-- THSICE_INI_VARS
48    
49  C     !USES:  C     !USES:
50        IMPLICIT NONE        IMPLICIT NONE
# Line 59  C--   Initialize KPP vertical mixing sch Line 72  C--   Initialize KPP vertical mixing sch
72        ENDIF        ENDIF
73  #endif  #endif
74    
75  #ifdef ALLOW_OBCS  #ifdef ALLOW_SEAICE
76  C--   Open boundaries data  C--   Initialize SEAICE model.
77        IF (useOBCS) THEN        IF (useSEAICE) CALL SEAICE_INIT( myThid )
         CALL OBCS_INIT_VARIABLES( myThid )  
       ENDIF  
78  #endif  #endif
79    
80  #ifdef ALLOW_AIM  cph-- moved further down
81        IF ( useAIM ) CALL AIM_INIT( mythid )  cph#ifdef ALLOW_OBCS
82  #endif  cphC--   Open boundaries data
83    cph      IF (useOBCS) THEN
84    cph        CALL OBCS_INIT_VARIABLES( myThid )
85    cph      ENDIF
86    cph#endif
87    
88  #ifdef ALLOW_PTRACERS  #ifdef ALLOW_PTRACERS
89        IF ( usePTRACERS ) CALL PTRACERS_INIT( mythid )  # ifndef ALLOW_AUTODIFF_TAMC
90          IF ( usePTRACERS ) THEN
91    # endif
92             CALL PTRACERS_INIT( mythid )
93    #ifdef ALLOW_GCHEM
94             CALL GCHEM_INIT_VARI( mythid )
95    #endif
96    # ifndef ALLOW_AUTODIFF_TAMC
97          ENDIF
98    # endif
99    #endif
100    
101    #ifdef ALLOW_LAND
102          IF ( useLAND ) CALL LAND_INI_VARS( mythid )
103  #endif  #endif
104    
105  #if (defined (ALLOW_ADJOINT_RUN) || defined (ALLOW_TANGENTLINEAR_RUN))  #ifdef ALLOW_AUTODIFF
106  c--   Map the control variables onto the model state.  c--   Initialise auxiliary xx_ fields
107        call ctrl_map_ini( mythid )        CALL CTRL_INIT_VARIABLES ( mythid )
108    c--   Map the control variables onto the model state.
109          CALL CTRL_MAP_INI( mythid )
110        _BARRIER        _BARRIER
111  #endif  #endif
112    
113  #ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE  #ifdef ALLOW_EXF
114        CALL EXF_INIT( mythid )        CALL EXF_INIT( mythid )
115  #else  #else
116        CALL INI_FORCING( mythid )        CALL INI_FORCING( mythid )
117  #endif  #endif
118    
119  #ifdef INCLUDE_ECCO_PACKAGE  #ifdef ALLOW_COST
       IF (useECCO) THEN  
        CALL ECCO_INIT( myThid )  
       ENDIF  
 #else  
 # ifdef ALLOW_COST  
120  c--   Initialise the cost function.  c--   Initialise the cost function.
121        call cost_init( mythid )  ceh3 needs an IF ( useCOST ) THEN
122          CALL COST_INITVARIA( mythid )
123        _BARRIER        _BARRIER
 # endif  
124  #endif  #endif
125    
126    #ifdef ALLOW_OBCS
127    C--   Open boundaries data
128          IF (useOBCS) CALL OBCS_INIT_VARIABLES( myThid )
129    #endif
130    
131    #ifdef ALLOW_BULK_FORCE
132          IF (useBulkForce) CALL BULKF_INIT( mythid)
133    #endif
134    
135    #ifdef ALLOW_THSICE
136          IF (useThSIce) CALL THSICE_INI_VARS( mythid)
137    #endif
138    
139    
140        RETURN        RETURN
141        END        END

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.22